[PATCH v2 1/3] of: add common OF-based component functionality
Thierry Reding
thierry.reding at gmail.com
Fri Jun 3 08:44:30 PDT 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20160603/196b25a6/attachment.sig>
More information about the Linux-rockchip
mailing list