lkml.org 
[lkml]   [2010]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch 6/6] x86: cpumask_of_node() should handle -1 as a node
Date
On Wed, 6 Jan 2010 03:25:15 pm Anton Blanchard wrote:
> pcibus_to_node can return -1 if we cannot determine which node a pci bus
> is on. If passed -1, cpumask_of_node will negatively index the lookup array
> and pull in random data:

If you grep for the callers, you'll see those which do this (now-obsolete)
check. One more patch :)

Thanks,
Rusty.


\
 
 \ /
  Last update: 2010-01-06 07:39    [from the cache]
©2003-2011 Jasper Spaans