2013-07-03 05:57:09

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the mfd tree

Hi Samuel,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

drivers/mfd/ti_am335x_tscadc.c: In function 'ti_tscadc_probe':
drivers/mfd/ti_am335x_tscadc.c:95:27: warning: unused variable 'cur' [-Wunused-variable]
const __be32 *cur;
^
drivers/mfd/ti_am335x_tscadc.c:94:27: warning: unused variable 'prop' [-Wunused-variable]
struct property *prop;
^

Introduced by commit 18926edebcb8 ("iio: ti_am335x_adc: Allow to specify
input line"). CONFIG_OF is not set in this build.

Maybe someone could come up with a way to make these arguments to
of_property_for_each_u32() etc look used in the !CONFIG_OF case.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (804.00 B)
(No filename) (836.00 B)
Download all attachments
Subject: Re: linux-next: build warning after merge of the mfd tree

On Wed, Jul 03, 2013 at 03:56:55PM +1000, Stephen Rothwell wrote:
> Hi Samuel,
Hi Stephen,

> Introduced by commit 18926edebcb8 ("iio: ti_am335x_adc: Allow to specify
> input line"). CONFIG_OF is not set in this build.
>
> Maybe someone could come up with a way to make these arguments to
> of_property_for_each_u32() etc look used in the !CONFIG_OF case.

Already posted:

https://lists.ozlabs.org/pipermail/devicetree-discuss/2013-June/035703.html

Sebastian