u-boot-brain/drivers
Vignesh Raghavendra 64b69f8c89 phy: Fix possible NULL pointer deference
It is possible that users of generic_phy_*() APIs may pass a valid
struct phy pointer but phy->dev can be NULL, leading to NULL pointer
deference in phy_dev_ops().

So call generic_phy_valid() to verify that phy and phy->dev are both
valid.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2020-05-25 11:54:53 -04:00
..
adc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ata common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
axi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
board common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootcount common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cache common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk clk: rk3399: Enable/Disable the PCIEPHY clk 2020-05-22 20:53:20 +08:00
core common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
cpu cpu: imx8: use intended cpu-thermal device when getting temp value 2020-05-22 13:27:46 +02:00
crypto drivers: crypto: mod_exp_sw: Re-add DM_FLAG_PRE_RELOC 2020-05-19 14:01:47 -04:00
ddr common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
demo common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dfu common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dma common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fastboot common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
firmware common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fpga common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
gpio common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
hwspinlock common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
input common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
led common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mailbox common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mmc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtd mtd: rawnand: denali: deassert write protect pin 2020-05-22 11:21:06 +09:00
net net: ks8851: Add Kconfig entries 2020-05-22 19:46:45 +02:00
nvme common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pch common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci pci: Add Rockchip PCIe PHY controller driver 2020-05-22 20:53:20 +08:00
pci_endpoint common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
phy phy: Fix possible NULL pointer deference 2020-05-25 11:54:53 -04:00
pinctrl common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
power common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwm common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
qe common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ram common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
remoteproc common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rng common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rtc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
scsi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
smem common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
soc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sound common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spmi dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sysreset common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tee common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
thermal thermal: imx_scu_thermal: prevent boot hang with zero pdata 2020-05-22 13:29:25 +02:00
timer common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tpm common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ufs common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
usb eth/r8152: fix typo in register name 2020-05-22 15:22:37 +02:00
video common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
virtio common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
w1 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
w1-eeprom common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
watchdog common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig dm: rng: Add random number generator(rng) uclass 2020-01-07 18:08:21 +01:00
Makefile drivers: Descend to drivers/soc unconditionally 2020-03-03 13:08:13 +05:30