linux_dsm_epyc7002/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas 1c1f619e45 amd-xgbe: Fix maximum GPIO value check
The GPIO support in the hardware allows for up to 16 GPIO pins, enumerated
from 0 to 15.  The driver uses the wrong value (16) to validate the GPIO
pin range in the routines to set and clear the GPIO output pins.  Update
the code to use the correct value (15).

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-16 13:57:44 -05:00
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Fix possible uninitialized variable 2016-11-16 13:57:44 -05:00
xgbe-desc.c amd-xgbe: Fix DMA API debug warning 2015-07-08 15:57:14 -07:00
xgbe-dev.c amd-xgbe: Fix maximum GPIO value check 2016-11-16 13:57:44 -05:00
xgbe-drv.c amd-xgbe: Add support for MDIO attached PHYs 2016-11-13 00:56:26 -05:00
xgbe-ethtool.c net: xgbe: use new api ethtool_{get|set}_link_ksettings 2016-11-09 13:25:13 -05:00
xgbe-i2c.c amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-main.c amd-xgbe: Add support for MDIO attached PHYs 2016-11-13 00:56:26 -05:00
xgbe-mdio.c amd-xgbe: Fix mask appliciation for Clause 37 register 2016-11-15 22:12:57 -05:00
xgbe-pci.c amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-phy-v1.c amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-phy-v2.c amd-xgbe: Fix up some coccinelle identified warnings 2016-11-15 22:12:57 -05:00
xgbe-platform.c amd-xgbe: Add support for new DMA interrupt mode 2016-11-13 00:56:26 -05:00
xgbe-ptp.c ptp: xgbe: convert to the 64 bit get/set time methods. 2015-03-31 12:01:16 -04:00
xgbe.h amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00