]> git.baikalelectronics.ru Git - kernel.git/commit
qed*: Fix possible overflow for status block id field.
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>
Thu, 4 May 2017 15:15:03 +0000 (08:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 May 2017 16:31:02 +0000 (12:31 -0400)
commita2c7158d944c28dd2e72f1a38957e32c3f853d40
treede7f830c3530b1b5e5e4444fcc7327c6e3a343eb
parent370fb09f1c4e4abaf8f14b474da4d0df868ecbde
qed*: Fix possible overflow for status block id field.

Value for status block id could be more than 256 in 100G mode, need to
update its data type from u8 to u16.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_dev_api.h
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
include/linux/qed/qed_if.h