Commit ee346873 authored by Brian W Hart's avatar Brian W Hart Committed by Tomi Valkeinen

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: default avatarBrian W Hart <hartb@linux.vnet.ibm.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 81fe17b9
...@@ -642,7 +642,7 @@ static inline void unlock_fb_info(struct fb_info *info) ...@@ -642,7 +642,7 @@ static inline void unlock_fb_info(struct fb_info *info)
static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, static inline void __fb_pad_aligned_buffer(u8 *dst, u32 d_pitch,
u8 *src, u32 s_pitch, u32 height) u8 *src, u32 s_pitch, u32 height)
{ {
int i, j; u32 i, j;
d_pitch -= s_pitch; d_pitch -= s_pitch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment