[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120619050236.GA16286@lizard>
Date: Mon, 18 Jun 2012 22:02:36 -0700
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Jenny TC <jenny.tc@...el.com>,
Jean Delvare <khali@...ux-fr.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Len Brown <len.brown@...el.com>
Subject: Re: linux-next: build warning after merge of the battery tree
Hi Stephen,
On Tue, Jun 19, 2012 at 02:54:08PM +1000, Stephen Rothwell wrote:
> After merging the battery tree, today's linux-next build (i386 defconfig)
> produced this warning:
>
> drivers/power/power_supply_core.c: In function 'psy_register_thermal':
> drivers/power/power_supply_core.c:204:6: warning: passing argument 1 of 'thermal_zone_device_register' discards 'const' qualifier from pointer target type [enabled by default]
> include/linux/thermal.h:149:29: note: expected 'char *' but argument is of type 'const char *'
>
> Introduced by commit 3be330bf8860 ("power_supply: Register battery as a
> thermal zone").
Yup, at the same time as I merged the thermal zone support for
power supply class, I also fixed the root cause of the warning:
http://lkml.org/lkml/2012/6/18/28
But I guess it will go via -mm tree. Or should/can I take it into
battery-2.6 tree? Added Cc's.
Thanks!
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists