Commit a9672c4b861afcf547bfe2cafeec4ca85a63da67

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent f0c7d2b72a

drivers/video/tmiofb.c: fix uninitialised return value

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/video/tmiofb.c
... ... @@ -974,7 +974,7 @@
974 974 {
975 975 struct fb_info *info = platform_get_drvdata(dev);
976 976 struct mfd_cell *cell = dev->dev.platform_data;
977   - int retval;
  977 + int retval = 0;
978 978  
979 979 acquire_console_sem();
980 980