projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c7d2b
)
drivers/video/tmiofb.c: fix uninitialised return value
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 22 Sep 2009 23:47:54 +0000
(16:47 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:57 +0000
(07:39 -0700)
drivers/video/tmiofb.c: In function 'tmiofb_resume':
drivers/video/tmiofb.c:977: warning: 'retval' may be used uninitialized in this function
Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tmiofb.c
patch
|
blob
|
history
diff --git
a/drivers/video/tmiofb.c
b/drivers/video/tmiofb.c
index
a1eb086
..
6913fe1
100644
(file)
--- a/
drivers/video/tmiofb.c
+++ b/
drivers/video/tmiofb.c
@@
-974,7
+974,7
@@
static int tmiofb_resume(struct platform_device *dev)
{
struct fb_info *info = platform_get_drvdata(dev);
struct mfd_cell *cell = dev->dev.platform_data;
- int retval;
+ int retval
= 0
;
acquire_console_sem();