Re: linux-next: build warning after merge of the akpm-current tree

From: Andrew Morton
Date: Mon Sep 29 2014 - 17:30:30 EST


On Fri, 26 Sep 2014 20:42:00 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi Andrew,
>
> After merging the akpm tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/of/of_reserved_mem.c: In function 'of_reserved_mem_device_init':
> drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
> return;
> ^
> drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
> return;
> ^
>
> Caused by commit 1a29544cc8c9 ("drivers: of: add return value to
> of_reserved_mem_device_init"). This patch changed the return type of a
> function but did not update any or the return statements in that
> function.

OK, thanks, I dropped it. I could have fixed it but it doesn't appear
to be well tested.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/