mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-13 09:58:14 +00:00
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>
3.7 KiB
3.7 KiB