lkml.org 
[lkml]   [2000]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From



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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.109 / U:0.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site