summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMike Ditto <mditto@consentry.com>2008-10-17 11:27:51 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-10-21 06:17:48 +0200
commit59fd6b8cc0975b88e35f6ca2318b8cee77d3a508 (patch)
treebca9e11375be03e5cbe71cc9962c37993bb3382c /block
parentpowerpc/numa: Make memory reserve code more robust (diff)
downloadlinux-59fd6b8cc0975b88e35f6ca2318b8cee77d3a508.tar.xz
linux-59fd6b8cc0975b88e35f6ca2318b8cee77d3a508.zip
powerpc: Fix boot wrapper memcmp() called with zero length argument
I noticed, when trying to use, e.g., node = find_node_by_prop_value(prev, "booleanprop", "", 0)) to search for all nodes with a certain boolean property, that memcmp() returns garbage when comparing zero bytes. It should return zero. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions