cxgb4: potential shift wrapping bug
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 8 Oct 2014 13:43:17 +0000 (16:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2014 20:08:04 +0000 (16:08 -0400)
commit9fef84780348bbc01b14c1a0f88440ee67cfddfe
treee0e89a8b21375e2718a89097174ec309549d4ff4
parent4567dc10934292a3171f98d28817d58127b73b72
cxgb4: potential shift wrapping bug

"cntxt_id" is an unsigned int but "udb" is a u64 so there is a potential
shift wrapping bug here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c