]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fb: fix warning: no return statement in function returning non-void
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 6 Feb 2008 09:40:23 +0000 (01:40 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:21 +0000 (10:41 -0800)
commit55850f47333c6e7d932e6426eaed863b27c9cd7f
treedad1007589b09f22838bc70a03f6848252bbc7a4
parent6659a0f0bb7481d0f94ca3f203a4e1e406a9694d
fb: fix warning: no return statement in function returning non-void

Warning is reproducible with selected FB_CFB_REV_PIXELS_IN_BYTE.

  CC      drivers/video/sysfillrect.o
In file included from drivers/video/sysfillrect.c:18:
drivers/video/fb_draw.h: In function `fb_rev_pixels_in_long':
drivers/video/fb_draw.h:94: warning: no return statement in function returning non-void
  CC      drivers/video/syscopyarea.o
In file included from drivers/video/syscopyarea.c:22:
drivers/video/fb_draw.h: In function `fb_rev_pixels_in_long':
drivers/video/fb_draw.h:94: warning: no return statement in function returning non-void

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fb_draw.h