Re: [2.6 patch] mark virt_to_bus/bus_to_virt as __deprecated on i386

From: Adrian Bunk
Date: Sat Nov 19 2005 - 15:50:56 EST

On Sat, Nov 19, 2005 at 01:34:35AM +0100, Sam Ravnborg wrote:
> On Thu, Nov 17, 2005 at 08:03:54PM -0800, Andrew Morton wrote:
> > "David S. Miller" <davem@xxxxxxxxxxxxx> wrote:
> > >
> > > The deprecated warnings are so easy to filter out, so I don't think
> > > noise is a good argument. I see them all the time too.
> >
> > That works for you and me. But how to train all those people who write
> > warny patches?
> Would it work to use -Werror only on some parts of the kernel.
> Thinking of teaching kbuild to recursively apply a flags to gcc.
> Then we could say that kernel/ should be warning free (to a start).

We can do better as we do currently, but we cannever get the kernel 100%
warning free for all supported kernel configurations and all supported
gcc versions.

E.g. gcc emitting some "unused variable" warnings when compiling with
CONFIG_PCI=n is quite common, and although they could all be fixed there
will always be some warnings with unusual kernel configurations.

> Sam



"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at