linux/drivers
Thierry Reding 9e8da08d94 phy: Find the right match in devm_phy_destroy()
commit 2f1bce487c upstream.

devm_phy_create() stores the pointer to the new PHY at the address
returned by devres_alloc(). The res parameter passed to devm_phy_match()
is therefore the location where the pointer to the PHY is stored, hence
it needs to be dereferenced before comparing to the match data in order
to find the correct match.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-13 14:03:01 +02:00
..
accessibility
acpi ACPI / video: Load the module even if ACPI is disabled 2015-03-18 13:31:34 +01:00
amba
ata sata_dwc_460ex: fix resource leak on error path 2015-01-29 17:40:50 -08:00
atm
auxdisplay
base regmap: regcache-rbtree: Fix present bitmap resize 2015-04-13 14:02:59 +02:00
bcma
block rbd: fix rbd_dev_parent_get() when parent_overlap == 0 2015-02-05 22:35:52 -08:00
bluetooth Bluetooth: ath3k: workaround the compatibility issue with xHCI controller 2015-03-06 14:43:22 -08:00
bus bus: mvebu-mbus: fix support of MBus window 13 2015-01-29 17:40:49 -08:00
cdrom
char tpm/ibmvtpm: Additional LE support for tpm_ibmvtpm_send 2015-03-26 15:06:54 +01:00
clk clk-gate: fix bit # check in clk_register_gate() 2015-03-18 13:31:34 +01:00
clocksource clocksource: efm32: Fix a NULL pointer dereference 2015-04-13 14:02:59 +02:00
connector
cpufreq cpufreq: s3c: remove incorrect __init annotations 2015-03-06 14:43:24 -08:00
cpuidle
crypto crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
dca
devfreq
dio
dma dmaengine: dw: don't perform DMA when dmaengine_submit is called 2014-10-05 14:52:24 -07:00
edac EDAC, amd64_edac: Prevent OOPS with >16 memory controllers 2015-03-06 14:43:31 -08:00
eisa
extcon
firewire firewire: cdev: prevent kernel stack leaking into ioctl arguments 2014-11-21 09:23:02 -08:00
firmware efi: Small leak on error in runtime map code 2015-03-18 13:31:33 +01:00
fmc
gpio gpio: tps65912: fix wrong container_of arguments 2015-03-06 14:43:31 -08:00
gpu drm/vmwgfx: Reorder device takedown somewhat 2015-03-26 15:06:56 +01:00
hid HID: fixup the conflicting keyboard mappings quirk 2015-03-18 13:31:33 +01:00
hsi
hv Drivers: hv: vmbus: Fix a race condition when unregistering a device 2015-01-16 06:59:32 -08:00
hwmon hwmon: (ds1621) Update zbits after conversion rate change 2014-10-05 14:52:19 -07:00
hwspinlock
i2c i2c: s3c2410: fix ABBA deadlock by keeping clock prepared 2015-02-05 22:35:49 -08:00
ide
idle
iio iio:adc:mcp3422 Fix incorrect scales table 2015-03-18 13:31:26 +01:00
infiniband IB/core: When marshaling ucma path from user-space, clear unused fields 2015-03-18 13:31:32 +01:00
input HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid 2015-03-18 13:31:33 +01:00
iommu iommu/vt-d: Fix an off-by-one bug in __domain_mapping() 2015-01-16 06:59:31 -08:00
ipack
irqchip irqchip: gic: Fix core ID calculation when topology is read from DT 2014-07-28 08:06:02 -07:00
isdn
leds
lguest
macintosh
mailbox
md dm snapshot: fix a possible invalid memory access on unload 2015-03-18 13:31:33 +01:00
media em28xx-audio: fix missing newlines 2015-03-06 14:43:26 -08:00
memory
memstick
message mptfusion: enable no_write_same for vmware scsi disks 2014-10-30 09:38:20 -07:00
mfd mfd: tc6393xb: Fail ohci suspend if full state restore is required 2015-01-08 10:00:48 -08:00
misc mei: make device disabled on stop unconditionally 2015-03-18 13:31:27 +01:00
mmc mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles 2015-03-06 14:43:26 -08:00
mtd mtd: nand: pxa3xx: Fix PIO FIFO draining 2015-03-26 15:06:56 +01:00
net Revert "iwlwifi: mvm: fix failure path when power_update fails in add_interface" 2015-04-13 14:03:01 +02:00
nfc NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:52:18 -07:00
ntb
nubus
of of/base: Fix PowerPC address parsing hack 2014-12-06 15:55:35 -08:00
oprofile
parisc
parport parport: fix menu breakage 2014-07-31 12:52:56 -07:00
pci PCI: Fix infinite loop with ROM image of size 0 2015-03-06 14:43:23 -08:00
pcmcia
phy phy: Find the right match in devm_phy_destroy() 2015-04-13 14:03:01 +02:00
pinctrl pinctrl: Fix two deadlocks 2015-01-29 17:40:48 -08:00
platform hp_accel: Add support for HP ZBook 15 2015-01-27 08:18:55 -08:00
pnp ACPI / PNP: Fix acpi_pnp_match() 2014-08-07 14:52:37 -07:00
power power: gpio-charger: balance enable/disable_irq_wake calls 2015-03-06 14:43:26 -08:00
powercap
pps
ps3
ptp
pwm
rapidio rapidio/tsi721_dma: fix failure to obtain transaction descriptor 2014-08-07 14:52:37 -07:00
regulator regulator: core: Fix enable GPIO reference counting 2015-03-26 15:06:56 +01:00
remoteproc
reset
rpmsg
rtc drivers/rtc/rtc-isl12057.c: fix masking of register values 2015-01-16 06:59:29 -08:00
s390 crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
sbus bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000 2014-08-14 09:38:26 +08:00
scsi tcm_qla2xxx: Fix incorrect use of __transport_register_session 2015-04-13 14:03:00 +02:00
sfi
sh
sn
spi spi: pl022: Fix race in giveback() leading to driver lock-up 2015-03-26 15:06:54 +01:00
ssb
staging iio: mxs-lradc: fix merge error 2015-03-26 15:06:49 +01:00
target tcm_fc: missing curly braces in ft_invl_hw_context() 2015-04-13 14:03:00 +02:00
tc
thermal tick/powerclamp: Remove tick_nohz_idle abuse 2015-01-27 08:18:55 -08:00
tty Change email address for 8250_pci 2015-03-26 15:06:53 +01:00
uio
usb USB: serial: fix tty-device error handling at probe 2015-03-18 13:31:30 +01:00
uwb uwb: init beacon cache entry before registering uwb device 2014-10-05 14:52:14 -07:00
vfio vfio-pci: Fix the check on pci device type in vfio_pci_probe() 2015-01-27 08:18:56 -08:00
vhost vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion 2015-01-27 08:18:58 -08:00
video video/logo: prevent use of logos after they have been freed 2015-01-27 08:18:55 -08:00
virt
virtio virtio_pci: fix virtio spec compliance on restore 2014-11-14 08:59:50 -08:00
vlynq
vme
w1
watchdog
xen xen-pciback: limit guest control of command register 2015-03-26 15:06:57 +01:00
zorro
Kconfig
Makefile