linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz eb7a07e8d6 it821x: fix kzalloc() failure handling
Allocate 'struct it821x_dev' objects for both ports in it821x_init_one().

Fixes potential OOPS in it821x_quirkproc() (uses 'itdev' unconditionally)
and other problems ('itdev' is needed for correct operation of the driver).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-26 17:36:42 +02:00
..
aec62xx.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
alim15x3.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
amd74xx.c ide: remove PIO "downgrade" quirk 2008-04-26 17:36:36 +02:00
atiixp.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
cmd64x.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
cmd640.c IDE: Coding Style fixes to drivers/ide/pci/cmd640.c 2008-04-26 17:36:41 +02:00
cs5520.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
cs5530.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
cs5535.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
cy82c693.c IDE: Coding Style fixes to drivers/ide/pci/cy82c693.c 2008-04-26 17:36:42 +02:00
delkin_cb.c delkin_cb: fix resources handling 2008-04-26 17:36:38 +02:00
generic.c IDE: Coding Style fixes to drivers/ide/pci/generic.c 2008-04-26 17:36:40 +02:00
hpt34x.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
hpt366.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
it821x.c it821x: fix kzalloc() failure handling 2008-04-26 17:36:42 +02:00
it8213.c IDE: Coding Style fixes to drivers/ide/pci/it8213.c 2008-04-26 17:36:41 +02:00
jmicron.c IDE: Coding Style fixes to drivers/ide/pci/jmicron.c 2008-04-26 17:36:40 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
opti621.c IDE: Coding Style fixes to drivers/ide/pci/opti621.c 2008-04-26 17:36:41 +02:00
pdc202xx_new.c ide: remove needless includes from PCI host drivers 2008-02-02 19:56:33 +01:00
pdc202xx_old.c pdc202xx_old: always enable burst mode 2008-02-11 00:32:13 +01:00
piix.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
rz1000.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
sc1200.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
scc_pata.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
serverworks.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
sgiioc4.c sgiioc4: use ide_find_port() 2008-04-26 17:36:33 +02:00
siimage.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
sis5513.c IDE: Coding Style fixes to drivers/ide/pci/sis5513.c 2008-04-26 17:36:39 +02:00
sl82c105.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
slc90e66.c IDE: Coding Style fixes to drivers/ide/pci/slc90e66.c 2008-04-26 17:36:39 +02:00
tc86c001.c IDE: Coding Style fixes to drivers/ide/pci/tc86c001.c 2008-04-26 17:36:39 +02:00
triflex.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
trm290.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
via82cxxx.c ide: remove PIO "downgrade" quirk 2008-04-26 17:36:36 +02:00