]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fix static checker warning
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 5 Jun 2015 09:06:33 +0000 (14:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Jun 2015 04:31:58 +0000 (21:31 -0700)
commit4b78c7a5ae62409531958968b4ac472bd21c2138
tree49796264980c4f35e76d1f168ab2536b58b8239a
parent81605103fe538e4658a71fa46001468e7143afe5
cxgb4: Fix static checker warning

The patch dbb8f1653ba4: ("cxgb4/cxgb4vf: Add code to calculate T5 BAR2
Offsets for SGE Queue Registers") from Dec 3, 2014, leads to the
following static checker warning:

        drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:5358
t4_bar2_sge_qregs()
        warn: should '(qid >> qpp_shift) << page_shift' be a 64 bit type?

This patch fixes it

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c