diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-03-22 00:11:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-22 19:39:05 -0700 |
commit | 47ebea8351061f763089f6c3e2d2403715b510e1 (patch) | |
tree | c35bf89557e51b6577bc151bd8205ffe0137d690 /drivers/misc/ibmasm | |
parent | fffda91e2e7ffcc4f60b8666a59f64f28081ce63 (diff) |
[PATCH] drivers/video/s3fb.c: fix a use-before-check
NULL checks should be before the first dereference.
Spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Ondrej Zajicek <santiago@crfreenet.org>
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>
Diffstat (limited to 'drivers/misc/ibmasm')
0 files changed, 0 insertions, 0 deletions