summaryrefslogtreecommitdiff
path: root/drivers/ide/pmac.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2010-03-10 14:50:21 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 07:12:22 -0700
commit12ee3c0a0ac42bed0939420468fd35f5cdceae4f (patch)
treec97f04d93fcca34d9ab7548f2b5070235202d52d /drivers/ide/pmac.c
parentf0eae0ed3b7d4182a6b4dd03540a738518ea3163 (diff)
driver core: numa: fix BUILD_BUG_ON for node_read_distance
node_read_distance() has a BUILD_BUG_ON() to prevent buffer overruns when the number of nodes printed will exceed the buffer length. Each node only needs four chars: three for distance (maximum distance is 255) and one for a seperating space or a trailing newline. Signed-off-by: David Rientjes <rientjes@google.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ide/pmac.c')
0 files changed, 0 insertions, 0 deletions