From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Apr 2008 15:36:42 +0000 (+0200) Subject: it821x: fix kzalloc() failure handling X-Git-Tag: v2.6.26-rc1~1044^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb7a07e8d6580ea498cac53acafe42c080af4d06;p=pandora-kernel.git 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 --- Reading git-diff-tree failed