diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:42 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:42 +0200 |
commit | eb7a07e8d6580ea498cac53acafe42c080af4d06 (patch) | |
tree | 0fb5175c41825786f774247d1c759e7fb1c4ea3a /drivers/ide/pci/sis5513.c | |
parent | 79472b6ea9e74ee4400ba57ba84cad86426e2d6d (diff) |
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 'drivers/ide/pci/sis5513.c')
0 files changed, 0 insertions, 0 deletions