diff options
author | Brian W Hart <hartb@linux.vnet.ibm.com> | 2014-05-01 15:32:35 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-05-02 08:57:42 -0400 |
commit | ee3468739ed83d862dbbd90397aff5258f8f2c8e (patch) | |
tree | 6633fd68cc20165c15182b9f2f6b9698f9b8dbe8 /include/linux/fb.h | |
parent | 81fe17b94bc84f2cb7fdfacf6b8de6c5bb101a50 (diff) |
fbdev/fb.h: silence warning with -Wsign-compare
Silence the warning when building with -Wsign-compare when fb.h is
included:
include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’:
include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s_pitch; j++)
^
Signed-off-by: Brian W Hart <hartb@linux.vnet.ibm.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r-- | include/linux/fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 506242979eea..b6bfda99add3 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -642,7 +642,7 @@ static inline void unlock_fb_info(struct fb_info *info) | |||
642 | static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, | 642 | static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, |
643 | u8 *src, u32 s_pitch, u32 height) | 643 | u8 *src, u32 s_pitch, u32 height) |
644 | { | 644 | { |
645 | int i, j; | 645 | u32 i, j; |
646 | 646 | ||
647 | d_pitch -= s_pitch; | 647 | d_pitch -= s_pitch; |
648 | 648 | ||