Re: [Linux-fbdev-devel] [PATCH] fbcon: replace mono_col macro withstatic inline
From: Harvey Harrison
Date: Tue Feb 26 2008 - 16:50:40 EST
On Tue, 2008-02-26 at 22:36 +0100, Geert Uytterhoeven wrote:
> On Tue, 26 Feb 2008, Harvey Harrison wrote:
> > On Tue, 2008-02-26 at 09:18 +0100, Geert Uytterhoeven wrote:
> > > On Mon, 25 Feb 2008, Harvey Harrison wrote:
> > > > +static inline int mono_col(struct fb_info *info)
> > > ^^^^^^^^^^^^^^^^^^^^
> > > const struct fb_info *info?
> >
> > I suppose, but seeing as it's an inline, does it really matter?
>
> Sure, if one day a new routine calls mono_col() passing a const struct fb_info
> pointer, it won't compile.
Fair enough, want an updated patch, or will Andrew just make the small
addition?
Harvey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/