linux/drivers/ide
Miklos Szeredi 9974e43d90 ide: fix generic_ide_suspend/resume Oops
This patch fixes a regresion introduced by commit 0998d063 (device-core: Ensure
drvdata = NULL when no driver is bound).

Suspend oopses in generic_ide_suspend() because dev_get_drvdata()
returns NULL (dev->p->driver_data == NULL) and this function is not
prepared for this.

Fix is based on Alan Stern's suggestion.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-21 14:54:42 -07:00
..
aec62xx.c
ali14xx.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
alim15x3.c
amd74xx.c
atiixp.c
au1xxx-ide.c
buddha.c
cmd64x.c
cmd640.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
cs5520.c
cs5530.c
cs5535.c
cs5536.c
cy82c693.c
delkin_cb.c
dtc2278.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
falconide.c
gayle.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
hpt366.c
ht6560b.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
icside.c ide: icside.c: fix printk format string compile warning 2012-06-06 10:36:47 -07:00
ide_platform.c
ide-4drives.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ide-acpi.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ide-atapi.c
ide-cd_ioctl.c
ide-cd_verbose.c
ide-cd.c ide-{cd,floppy,tape}: Do not include <linux/irq.h> 2011-11-08 22:35:46 +01:00
ide-cd.h
ide-cs.c drivers/ide/ide-cs.c: adjust suspicious bit operation 2012-06-12 15:51:41 -07:00
ide-devsets.c
ide-disk_ioctl.c
ide-disk_proc.c
ide-disk.c
ide-disk.h
ide-dma-sff.c
ide-dma.c
ide-eh.c
ide-floppy_ioctl.c block: add and use scsi_blk_cmd_ioctl 2012-01-14 15:07:24 -08:00
ide-floppy_proc.c
ide-floppy.c ide-{cd,floppy,tape}: Do not include <linux/irq.h> 2011-11-08 22:35:46 +01:00
ide-floppy.h
ide-gd.c
ide-gd.h
ide-generic.c
ide-h8300.c
ide-io-std.c
ide-io.c
ide-ioctls.c
ide-iops.c
ide-legacy.c
ide-lib.c
ide-park.c
ide-pci-generic.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ide-pio-blacklist.c
ide-pm.c ide: fix generic_ide_suspend/resume Oops 2012-08-21 14:54:42 -07:00
ide-pnp.c
ide-probe.c
ide-proc.c
ide-scan-pci.c
ide-sysfs.c
ide-tape.c ide-{cd,floppy,tape}: Do not include <linux/irq.h> 2011-11-08 22:35:46 +01:00
ide-taskfile.c ide: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:17 +08:00
ide-timings.c
ide-xfer-mode.c
ide.c
it821x.c
it8172.c
it8213.c
jmicron.c
Kconfig
macide.c
Makefile ARM: at91: drop ide driver in favor of the pata one 2012-02-13 18:31:37 +01:00
ns87415.c
opti621.c
palm_bk3710.c
pdc202xx_new.c
pdc202xx_old.c
piix.c
pmac.c
q40ide.c
qd65xx.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
qd65xx.h
rapide.c
rz1000.c
sc1200.c
scc_pata.c
serverworks.c
setup-pci.c
sgiioc4.c
siimage.c
sis5513.c
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
trm290.c
tx4938ide.c
tx4939ide.c
umc8672.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
via82cxxx.c