drivers/video/w100fb.c: avoid a couple of error-path NULL derefs
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 28 Apr 2008 09:15:45 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:41 +0000 (08:58 -0700)
commit8224c3b166db81a8dbd128df455453897fe2b48b
tree757864098a1a49311d359613cd6c3135f18e6772
parent0e170c72c0c55bd78213a0f5053bd9a1dde403b7
drivers/video/w100fb.c: avoid a couple of error-path NULL derefs

Fix a couple of error-patch oopses identified by Marcio Buss in
http://bugzilla.kernel.org/show_bug.cgi?id=9567.

Cc: Marcio Buss <marciobuss@gmail.com>
Cc: Jeff Zhou <xinzhou.sjtu@gmail.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/w100fb.c