]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:04 +0000 (22:32 -0700)
commit351efa3873d2bfa3241ba1497abaa84a7c09a419
treee087f709a1e078d5b7582bbdb3a73bf7f8f409e3
parent370052cb9bc200b22af4531a07ca3058c1f785d0
qed*: Fix possible overflow for status block id field.

Orabug: 26783820

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>
[ Upstream commit f870a3c6727db5fcfeaa42d099f75872e4b17553 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
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