diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-06-27 23:50:29 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:14 +0200 |
| commit | 2b4690eb3308de65e50f5f374fe78be46eabedb9 (patch) | |
| tree | 71de4d5c0ae2ccadc0291bf20f2f491b2976f73c /include | |
| parent | b75b54f74f2397511958bdec6d2f39cdc7fdeb00 (diff) | |
qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()
commit 5b4d10f5e0369ed79434593b7cd8e85eebbe473f upstream.
There is a static checker warning here "warn: mask and shift to zero"
and the code sets "ring" to zero every time. From looking at how
QLCNIC_FETCH_RING_ID() is used in qlcnic_83xx_process_rcv_ring() the
qlcnic_83xx_hndl() should be removed.
Fixes: 4be41e92f7c6 ('qlcnic: 83xx data path routines')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
