diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2011-01-10 17:42:20 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2011-01-10 17:42:20 -0800 |
commit | 5dbbcb97cc55dd6e0c34cf06f9e1ee181247d054 (patch) | |
tree | 14eb055d1e816e494d29db014d4c3b0c0fec6de2 /drivers/infiniband/hw/qib/qib_file_ops.c | |
parent | IB/qib: Handle transitions from ACTIVE_DEFERRED to ACTIVE better (diff) | |
download | linux-dev-5dbbcb97cc55dd6e0c34cf06f9e1ee181247d054.tar.xz linux-dev-5dbbcb97cc55dd6e0c34cf06f9e1ee181247d054.zip |
IB/qib: Fix multi-Florida HCA host panic on reboot
Add check when setting configured contexts that the value does not
exceed the number of contexts allocated for the card. If the value
exceeds the already allocated count, set it to what is already
allocated.
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_file_ops.c')
0 files changed, 0 insertions, 0 deletions