]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf870a3c6727db5fcfeaa42d099f75872e4b17553
treede7f830c3530b1b5e5e4444fcc7327c6e3a343eb
parent77ef033b687c3e030017c94a29bf6ea3aaaef678
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