summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_fs.c
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2010-06-03 00:21:07 +0000
committerRoland Dreier <rolandd@cisco.com>2010-07-19 13:21:24 -0700
commitcc323b2aaa3921c4eeec309ff64256b0c43ca752 (patch)
tree9f07d591a8baf9a267897a3c2a87859f54c27ce2 /drivers/infiniband/hw/qib/qib_fs.c
parent589643be6693c46fbc54bae77745f336c8ed4bcc (diff)
downloadblackbird-op-linux-cc323b2aaa3921c4eeec309ff64256b0c43ca752.tar.gz
blackbird-op-linux-cc323b2aaa3921c4eeec309ff64256b0c43ca752.zip
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: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_fs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud