Messages in this thread | | | Date | Fri, 18 Nov 2005 19:39:08 -0500 | From | Dave Jones <> | Subject | Re: [2.6 patch] mark virt_to_bus/bus_to_virt as __deprecated on i386 |
| |
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@davemloft.net> 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.
Only if you also add a load of gcc switches to disable some of the more pointless warnings, and also can live with released kernels breaking each time a new gcc gets released.
It's an uphill battle, which is why I only suggested it in a humourous context.
Dave
- 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/
| |