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 -
gives more than 2600 instances ;-/
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:16 EST