IB/qib: Avoid variable-length array
Rather than use a variable size array allocation on the stack, define a constant for the maximum array size possible. Signed-off-by: NRalph Campbell <ralph.campbell@qlogic.com> Signed-off-by: NRoland Dreier <rolandd@cisco.com>
Showing
想要评论请 注册 或 登录