diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-08-13 00:08:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-13 01:07:29 +0200 |
commit | 5ede40f87957c6ededf9284c8339722a97b9dfb6 (patch) | |
tree | 7bfadd8db09bda249aa06c387315267e34ee17f7 /drivers/video/matrox/i2c-matroxfb.c | |
parent | do_migrate_pages(): remove unused variable (diff) | |
download | linux-5ede40f87957c6ededf9284c8339722a97b9dfb6.tar.xz linux-5ede40f87957c6ededf9284c8339722a97b9dfb6.zip |
matrox maven: fix a broken error path
I broke an error path with d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd,
sorry about that.
The machine will crash if the i2c_attach_client() or maven_init_client()
calls fail, although nobody has yet reported this happening.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Cc: <stable@kernel.org> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/matrox/i2c-matroxfb.c')
0 files changed, 0 insertions, 0 deletions