On Fri, Jun 03, 2016 at 03:21:19PM +0100, Russell King wrote: [...]
diff --git a/drivers/of/of_component.c b/drivers/of/of_component.c
[...]
+static void component_compare_of(struct device *dev, void *data) +{
- return dev->of_node == data;
+}
The return statement here doesn't match the return value. Didn't GCC complain about this?
Thierry