aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_sd7220.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-03-18 20:25:26 +0000
committerRoland Dreier <roland@purestorage.com>2013-03-22 18:07:04 -0700
commit3c32869f7afe40ff7372e5bb7cd3d8b4520711bb (patch)
tree4af3793eec037017e8dfd73ad82f8f877ba8f7f4 /drivers/infiniband/hw/qib/qib_sd7220.c
parentLinux 3.9-rc3 (diff)
downloadlinux-dev-3c32869f7afe40ff7372e5bb7cd3d8b4520711bb.tar.xz
linux-dev-3c32869f7afe40ff7372e5bb7cd3d8b4520711bb.zip
IB/ipath: Silence a static checker warning
I have a static checker which complains that 0x255 is too high for the "dev->opstats[opcode]" array. It turns out that the hardware has already validated the opcode at this point so it can't actually overflow. However, silencing the warning is good and this matches how the opcode is treated in qib_ib_rcv() as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_sd7220.c')
0 files changed, 0 insertions, 0 deletions