diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-03-22 11:11:16 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-23 05:39:05 +0300 |
commit | 47ebea8351061f763089f6c3e2d2403715b510e1 (patch) | |
tree | c35bf89557e51b6577bc151bd8205ffe0137d690 /kernel | |
parent | fffda91e2e7ffcc4f60b8666a59f64f28081ce63 (diff) | |
download | linux-47ebea8351061f763089f6c3e2d2403715b510e1.tar.xz |
[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 'kernel')
0 files changed, 0 insertions, 0 deletions