aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-04-26 17:36:42 +0200
committerBartlomiej Zolnierkiewicz2008-04-26 17:36:42 +0200
commiteb7a07e8d6580ea498cac53acafe42c080af4d06 (patch)
tree0fb5175c41825786f774247d1c759e7fb1c4ea3a /include/linux
parent79472b6ea9e74ee4400ba57ba84cad86426e2d6d (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 'include/linux')
0 files changed, 0 insertions, 0 deletions