[PATCH] null pointer dereference in appledisplay driver
authorMichael Hanselmann <linux-kernel@hansmi.ch>
Mon, 12 Feb 2007 08:51:34 +0000 (00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:27 +0000 (09:48 -0800)
commit2ca48ed5cc5935cbd2a6f5d14fecd4ddbbdb4315
tree9ba3dbdf08bba195ee505f70de7e2a21b146ed5a
parent509cb37e173d4e39cec47238397e91b718730794
[PATCH] null pointer dereference in appledisplay driver

Commit 40b20c257a13c5a526ac540bc5e43d0fdf29792a by Len Brown introduced
a null pointer dereference in the appledisplay driver. This patch fixes
it.

Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <greg@kroah.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/misc/appledisplay.c