Re: mdacon.c minor cleanups

Dave Jones (davej@suse.de)
Sun, 24 Mar 2002 19:42:54 +0100


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..

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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/