* New compiler warnings with v3.5-rc
@ 2012-06-28 8:47 Paul Walmsley
2012-06-28 9:05 ` Tero Kristo
0 siblings, 1 reply; 3+ messages in thread
From: Paul Walmsley @ 2012-06-28 8:47 UTC (permalink / raw)
To: t-kristo; +Cc: khilman, linux-omap
Hi Tero,
there are some new compiler warnings added in the v3.5-rc kernels:
arch/arm/mach-omap2/twl-common.c:51:12: warning: 'twl_set_voltage' defined but not used
arch/arm/mach-omap2/twl-common.c:57:12: warning: 'twl_get_voltage' defined but not used
They only seem to appear on my N800 builds:
http://www.pwsan.com/omap/testlogs/am35xx_devel_3.6/20120628014213/build/build_20120628011813_log.txt
but it looks like I somehow am not doing a 2430-specific build yet, so
they may be 24xx-common.
Anyway they were probably added by:
commit 49c008ecce1f9a549c12e8957668d60008ab0d79
Author: Tero Kristo <t-kristo@ti.com>
Date: Mon Feb 20 12:26:08 2012 +0200
arm: omap3: twl: add external controllers for core voltage regulators
Maybe you can put together a quick patch to fix these?
- Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New compiler warnings with v3.5-rc
2012-06-28 8:47 New compiler warnings with v3.5-rc Paul Walmsley
@ 2012-06-28 9:05 ` Tero Kristo
2012-06-28 9:45 ` S, Venkatraman
0 siblings, 1 reply; 3+ messages in thread
From: Tero Kristo @ 2012-06-28 9:05 UTC (permalink / raw)
To: Paul Walmsley; +Cc: khilman, linux-omap
On Thu, 2012-06-28 at 02:47 -0600, Paul Walmsley wrote:
> Hi Tero,
>
> there are some new compiler warnings added in the v3.5-rc kernels:
>
> arch/arm/mach-omap2/twl-common.c:51:12: warning: 'twl_set_voltage' defined but not used
> arch/arm/mach-omap2/twl-common.c:57:12: warning: 'twl_get_voltage' defined but not used
>
> They only seem to appear on my N800 builds:
>
> http://www.pwsan.com/omap/testlogs/am35xx_devel_3.6/20120628014213/build/build_20120628011813_log.txt
>
> but it looks like I somehow am not doing a 2430-specific build yet, so
> they may be 24xx-common.
>
> Anyway they were probably added by:
>
> commit 49c008ecce1f9a549c12e8957668d60008ab0d79
> Author: Tero Kristo <t-kristo@ti.com>
> Date: Mon Feb 20 12:26:08 2012 +0200
>
> arm: omap3: twl: add external controllers for core voltage regulators
>
>
> Maybe you can put together a quick patch to fix these?
Yea, I can do that. Can you provide your .config as reference?
-Tero
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New compiler warnings with v3.5-rc
2012-06-28 9:05 ` Tero Kristo
@ 2012-06-28 9:45 ` S, Venkatraman
0 siblings, 0 replies; 3+ messages in thread
From: S, Venkatraman @ 2012-06-28 9:45 UTC (permalink / raw)
To: t-kristo; +Cc: Paul Walmsley, khilman, linux-omap
On Thu, Jun 28, 2012 at 2:35 PM, Tero Kristo <t-kristo@ti.com> wrote:
> On Thu, 2012-06-28 at 02:47 -0600, Paul Walmsley wrote:
>> Hi Tero,
>>
>> there are some new compiler warnings added in the v3.5-rc kernels:
>>
>> arch/arm/mach-omap2/twl-common.c:51:12: warning: 'twl_set_voltage' defined but not used
>> arch/arm/mach-omap2/twl-common.c:57:12: warning: 'twl_get_voltage' defined but not used
>>
>> They only seem to appear on my N800 builds:
>>
>> http://www.pwsan.com/omap/testlogs/am35xx_devel_3.6/20120628014213/build/build_20120628011813_log.txt
>>
>> but it looks like I somehow am not doing a 2430-specific build yet, so
>> they may be 24xx-common.
>>
>> Anyway they were probably added by:
>>
>> commit 49c008ecce1f9a549c12e8957668d60008ab0d79
>> Author: Tero Kristo <t-kristo@ti.com>
>> Date: Mon Feb 20 12:26:08 2012 +0200
>>
>> arm: omap3: twl: add external controllers for core voltage regulators
>>
>>
>> Maybe you can put together a quick patch to fix these?
>
> Yea, I can do that. Can you provide your .config as reference?
>
You can generate one quickly using these steps..
make omap2plus_defconfig
scripts/config --disable ARCH_OMAP4
scripts/config --disable ARCH_OMAP3
make oldnoconfig
make uImage
... and it should expose the warning.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-28 9:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-28 8:47 New compiler warnings with v3.5-rc Paul Walmsley
2012-06-28 9:05 ` Tero Kristo
2012-06-28 9:45 ` S, Venkatraman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox