Re: [PATCH] fbcon: replace mono_col macro with static inline

2008-02-26 Thread Geert Uytterhoeven
On Mon, 25 Feb 2008, Harvey Harrison wrote: > Use __u32 for max_len to match the declaration of length in the > struct fb_bitfield. > > Suppresses sparse shadowed variable warnings from the nested max() > macros: > drivers/video/console/fbcon.h:130:8: warning: symbol '_x' shadows an earlier > one

Re: [PATCH] fbcon: replace mono_col macro with static inline

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 10:13:57 -0800 Harvey Harrison <[EMAIL PROTECTED]> wrote: > Use __u32 for max_len to match the declaration of length in the > struct fb_bitfield. > > Suppresses sparse shadowed variable warnings from the nested max() > macros: > drivers/video/console/fbcon.h:130:8: warning: sy

[PATCH] fbcon: replace mono_col macro with static inline

2008-02-25 Thread Harvey Harrison
Use __u32 for max_len to match the declaration of length in the struct fb_bitfield. Suppresses sparse shadowed variable warnings from the nested max() macros: drivers/video/console/fbcon.h:130:8: warning: symbol '_x' shadows an earlier one drivers/video/console/fbcon.h:130:8: originally declared h