commit | 59fd6b8cc0975b88e35f6ca2318b8cee77d3a508 | [log] [tgz] |
---|---|---|
author | Mike Ditto <mditto@consentry.com> | Fri Oct 17 09:27:51 2008 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Oct 21 15:17:48 2008 +1100 |
tree | bca9e11375be03e5cbe71cc9962c37993bb3382c | |
parent | e81703724a966120ace6504c993bda9e084cbf3e [diff] |
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>