]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: add missing parenthesis to prevent u32 overflow
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 4 Apr 2012 02:27:42 +0000 (02:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:03:45 +0000 (18:03 -0400)
commit4af1c30f266b34d4043b699a0d717816eb79228c
treed988b8c470ea3d15528a1cdd00c2c37489b4fd1e
parent5913d95844b1ac61ea8e404a3ce723b87f3665ba
bnx2x: add missing parenthesis to prevent u32 overflow

Commit 7c169e8 lacked two pairs of parenthesis, causing an overflow in the
congestion management.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h