aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sis5513.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 17:36:42 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 17:36:42 +0200
commiteb7a07e8d6580ea498cac53acafe42c080af4d06 (patch)
tree0fb5175c41825786f774247d1c759e7fb1c4ea3a /drivers/ide/pci/sis5513.c
parentqd65xx: use IDE_HFLAG_SINGLE host flag (diff)
downloadlinux-dev-eb7a07e8d6580ea498cac53acafe42c080af4d06.tar.xz
linux-dev-eb7a07e8d6580ea498cac53acafe42c080af4d06.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions