On Mon, 4 Sep 2000, Jamie Lokier wrote:

> Alexander Viro wrote:
> > >   *((unsigned long *)(&x)) = NULL;
> > 
> > free_page(foo()) and we've got problems...
> 
> Alan really meant
> 
>      *((unsigned long *)&(x)) = NULL;
> 
> and screw you if it's not an lvalue.

There's a lot of places that will need to be fixed after that.
So many that we could as well change the prototype and pass
the address explicitly - efforts will be comparable. Besides,
we got a whole slew of aliases for free_pages().

Too bad that counter on struct page is impossible to grep for - 
(->|\.)[        ]*count\>
gives more than 2600 instances ;-/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to