Re: [PATCH 1/2] AFS: Fix interminable loop inafs_write_back_from_locked_page()

From: Andrew Morton
Date: Fri May 11 2007 - 05:58:49 EST


On Fri, 11 May 2007 10:49:23 +0100 David Howells <dhowells@xxxxxxxxxx> wrote:

> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > > Following bug was uncovered by compiling with '-W' flag:
> >
> > gcc -W finds a number of fairly scary bugs.
>
> Do you mean in my code specifically? Or in the kernel in general?

In general.

> As far as
> I can tell -W only finds an eye-glazingly large quantity of 'unused parameter'
> warnings in AFS and AF_RXRPC.

Yes, it's a shame that there doesn't seem to be a fine-grained way of
turning on -W's useful bits.

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