From: Adrian Bunk Date: Fri, 10 Mar 2006 18:04:38 +0000 (+0100) Subject: [WATCHDOG] pcwd_usb.c: fix a NULL pointer dereference X-Git-Tag: v2.6.17-rc1~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d1a0b8d52e7539e22f3c3190f8b6e0c80b6cfe;p=pandora-kernel.git [WATCHDOG] pcwd_usb.c: fix a NULL pointer dereference The Coverity checker noted that this resulted in a NULL pointer reference if we were coming from if (usb_pcwd == NULL) { printk(KERN_ERR PFX "Out of memory\n"); goto error; } Signed-off-by: Adrian Bunk Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton --- Reading git-diff-tree failed