Re: mdacon.c minor cleanups

Daniel Jacobowitz (dan@debian.org)
Sun, 24 Mar 2002 13:59:41 -0500


On Sun, Mar 24, 2002 at 07:42:54PM +0100, Dave Jones wrote:
> On Sat, Mar 23, 2002 at 04:42:20PM +0100, Boris Bezlaj wrote:
>
> > if (! mda_detect()) {
> > - printk("mdacon: MDA card not detected.\n");
> > + printk(KERN_WARNING __FILE__ ": MDA card not detected.\n");
> > return NULL;
>
> Does __FILE__ suffer the same 'deprecated' warning that newer gcc 3's
> spit out for __FUNCTION__ ? If so, it'd be better to do this properly
> than to add more bits that will just create another janitor item for
> someone else later..

No, it shouldn't.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/