Messages in this thread |  | | Date | Sun, 3 Sep 2000 17:54:26 -0400 (EDT) | From | Alexander Viro <> |
| |
On Sun, 3 Sep 2000, Alan Cox wrote:
> > I've considered making "free_page()" a macro something like > > > > __free_pge(x); > > x = NULL; > > > > but that works only for lvalues, of course, and not all users are > > lvalue-users, so it's hard to do. But that would have caught this. > > Not that hard. (barf buckets at the ready) > > *((unsigned long *)(&x)) = NULL;
free_page(foo()) and we've got problems...
- 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/
|  |