diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-10-09 12:06:32 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-10-10 15:50:38 -0400 |
commit | 2cbe19d48af198f0070470a2d836828de24fe163 (patch) | |
tree | 4e6c27a49dc2aa5a4cf3c026b8cdcbfe9b15be72 /drivers/scsi/advansys.c | |
parent | 73fbe8be73512b8a3ffa3d20c9d7f531af99679c (diff) |
IB/mthca: Fix off-by-one in mthca SRQ creation
All HCAs (not just mem-free) need a spare SRQ entry, so bump srq->max
by 1 in all cases.
Noted by Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/scsi/advansys.c')
0 files changed, 0 insertions, 0 deletions