From: David Rientjes Date: Wed, 10 Mar 2010 22:50:21 +0000 (-0800) Subject: driver core: numa: fix BUILD_BUG_ON for node_read_distance X-Git-Tag: v2.6.34-rc2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ee3c0a0ac42bed0939420468fd35f5cdceae4f;p=pandora-kernel.git 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 Cc: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed