Subject: Re: [PATCH 1/2] AFS: Fix interminable loop in afs_write_back_from_locked_page()

From: Andrew Morton <[email-masked]>
Date: Fri, 11 May 2007 02:58:22 -0700

On Fri, 11 May 2007 10:49:23 +0100 David Howells <[email-masked]> wrote:

> Andrew Morton <[email-masked]> 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.