commit | 5b4d10f5e0369ed79434593b7cd8e85eebbe473f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jun 27 23:50:29 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 29 05:46:16 2016 -0400 |
tree | e2f3d7e7b90fe16028b94377b21974ba39310ff3 | |
parent | ceb56070359b7329b5678b5d95a376fcb24767be [diff] |
qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag() 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>