linux_dsm_epyc7002/drivers/net/phy
Andrew Lunn f802912d42 net: phy: genphy_10g_driver: Avoid NULL pointer dereference
This driver got missed during the recent change of .features from a
u32 to a pointer to a Linux bitmap. Change the initialisation from 0
to PHY_10GBIT_FEATURES so removing the danger of a NULL pointer
dereference.

Fixes: 719655a149 ("net: phy: Replace phy driver features u32 with link_mode bitmap")
Reported-by: Jose Abreu <jose.abreu@synopsys.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-25 16:19:09 -07:00
..
amd.c
aquantia.c net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
asix.c
at803x.c net: phy: Add phydev_warn() 2018-10-01 22:55:35 -07:00
bcm7xxx.c net: phy: Add support for Broadcom Omega internal Combo GPHY 2018-08-07 15:48:38 -07:00
bcm63xx.c net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
bcm87xx.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640_reg.h
dp83640.c net: phy: Add phydev_info() 2018-10-01 22:55:36 -07:00
dp83822.c
dp83848.c
dp83867.c
et1011c.c net: phy: et011c: Remove incorrect PHY_POLL flags 2018-09-16 15:31:01 -07:00
fixed_phy.c
icplus.c
intel-xway.c
Kconfig net: phy: bcm63xx: Allow to be built with COMPILE_TEST 2018-09-12 20:24:20 -07:00
lxt.c
Makefile
marvell10g.c net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
marvell.c net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
mdio_bus.c net: mdio: remove duplicated include from mdio_bus.c 2018-09-17 19:52:44 -07:00
mdio_device.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused 2018-09-28 10:25:11 -07:00
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c net: phy: mdio-mux-bcm-iproc: simplify getting .driver_data 2018-10-21 21:10:12 -07:00
mdio-mux-gpio.c gpiolib: Pass array info to get/set array functions 2018-09-13 11:16:54 +02:00
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c net: phy: Convert to using %pOFn instead of device_node.name 2018-10-01 23:29:37 -07:00
mdio-xgene.c
mdio-xgene.h
meson-gxl.c
micrel.c net: phy: micrel: add Microchip KSZ9131 initial driver 2018-10-19 17:02:23 -07:00
microchip_t1.c net: phy: Replace phy driver features u32 with link_mode bitmap 2018-10-01 22:55:36 -07:00
microchip.c net: phy: Add phydev_warn() 2018-10-01 22:55:35 -07:00
mscc.c net: phy: mscc: fix memory leak in vsc8574_config_pre_init 2018-10-17 22:08:55 -07:00
national.c
phy_device.c net: phy: phy_support_sym_pause: Clear Asym Pause 2018-10-22 19:38:22 -07:00
phy_led_triggers.c
phy-c45.c net: phy: genphy_10g_driver: Avoid NULL pointer dereference 2018-10-25 16:19:09 -07:00
phy-core.c
phy.c net: phy: merge phy_start_aneg and phy_start_aneg_priv 2018-10-15 23:13:07 -07:00
phylink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-06 14:43:42 -07:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c sfp: fix oops with ethtool -m 2018-09-18 20:14:19 -07:00
sfp.c net: phy: sfp: remove sfp_mutex's definition 2018-10-11 12:10:06 -07:00
sfp.h
smsc.c
spi_ks8995.c
ste10Xp.c net: phy: ste10Xp: Remove wrong SUPPORTED_Pause 2018-09-12 20:24:20 -07:00
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c