lkml.org 
[lkml]   [2007]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] [PATCH] cpuset operations causes Badness at mm/slab.c:777 warning
From
Date
On Fri, 01 Jun 2007 16:00:30 PDT, Linus Torvalds said:

> #define BADPTR ((void *)16)

> I bet you'd find *more* problems that way than by returning NULL, and
> you'd also avoid the whole problem with "if (!ptr) return -ENOMEM".

Hmm.. this looks like a good contender for "first usage of #ifndef CONFIG_STABLE"

:)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-06-02 03:09    [W:0.090 / U:1.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site