* [PATCH] mtd: mxc_nand: Fix compiler warnings
@ 2012-07-28 9:05 Dirk Behme
2012-07-30 7:34 ` Uwe Kleine-König
0 siblings, 1 reply; 7+ messages in thread
From: Dirk Behme @ 2012-07-28 9:05 UTC (permalink / raw)
To: linux-arm-kernel
From: Dirk Behme <dirk.behme@googlemail.com>
Fix the compiler warnings
drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
---
drivers/mtd/nand/mxc_nand.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 6acc790..31b125a 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1264,16 +1264,16 @@ static const struct mxc_nand_devtype_data imx51_nand_devtype_data = {
static const struct of_device_id mxcnd_dt_ids[] = {
{
.compatible = "fsl,imx21-nand",
- .data = &imx21_nand_devtype_data,
+ .data = (void *)&imx21_nand_devtype_data,
}, {
.compatible = "fsl,imx27-nand",
- .data = &imx27_nand_devtype_data,
+ .data = (void *)&imx27_nand_devtype_data,
}, {
.compatible = "fsl,imx25-nand",
- .data = &imx25_nand_devtype_data,
+ .data = (void *)&imx25_nand_devtype_data,
}, {
.compatible = "fsl,imx51-nand",
- .data = &imx51_nand_devtype_data,
+ .data = (void *)&imx51_nand_devtype_data,
},
{ /* sentinel */ }
};
--
1.7.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-07-28 9:05 [PATCH] mtd: mxc_nand: Fix compiler warnings Dirk Behme
@ 2012-07-30 7:34 ` Uwe Kleine-König
2012-08-04 15:47 ` Dirk Behme
0 siblings, 1 reply; 7+ messages in thread
From: Uwe Kleine-König @ 2012-07-30 7:34 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
> From: Dirk Behme <dirk.behme@googlemail.com>
>
> Fix the compiler warnings
>
> drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
> drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
> drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
> drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
These should be gone in next already.
Best regards,
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-07-30 7:34 ` Uwe Kleine-König
@ 2012-08-04 15:47 ` Dirk Behme
2012-08-05 8:39 ` Uwe Kleine-König
0 siblings, 1 reply; 7+ messages in thread
From: Dirk Behme @ 2012-08-04 15:47 UTC (permalink / raw)
To: linux-arm-kernel
On 30.07.2012 09:34, Uwe Kleine-K?nig wrote:
> Hello,
>
> On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
>> From: Dirk Behme<dirk.behme@googlemail.com>
>>
>> Fix the compiler warnings
>>
>> drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
>> drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
>> drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
>> drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
> These should be gone in next already.
Hmm, which next?
I tried linux-next [1] from today (next-20120803, 55fa9961f) and still get
> make drivers/mtd/nand/
...
CC drivers/mtd/nand/mxc_nand.o
drivers/mtd/nand/mxc_nand.c:1298: warning: initialization discards
qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1301: warning: initialization discards
qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1304: warning: initialization discards
qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1307: warning: initialization discards
qualifiers from pointer target type
drivers/mtd/nand/mxc_nand.c:1310: warning: initialization discards
qualifiers from pointer target type
CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
...
Sorry if I missed something ;)
Best regards
Dirk
[1]
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=shortlog;h=refs/heads/master
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-08-04 15:47 ` Dirk Behme
@ 2012-08-05 8:39 ` Uwe Kleine-König
2012-08-05 10:56 ` Dirk Behme
2012-08-18 9:58 ` Dirk Behme
0 siblings, 2 replies; 7+ messages in thread
From: Uwe Kleine-König @ 2012-08-05 8:39 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Aug 04, 2012 at 05:47:17PM +0200, Dirk Behme wrote:
> On 30.07.2012 09:34, Uwe Kleine-K?nig wrote:
> >Hello,
> >
> >On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
> >>From: Dirk Behme<dirk.behme@googlemail.com>
> >>
> >>Fix the compiler warnings
> >>
> >>drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
> >>drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
> >>drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
> >>drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
> >These should be gone in next already.
>
> Hmm, which next?
>
> I tried linux-next [1] from today (next-20120803, 55fa9961f) and still get
next-20120725 contained 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17, don't
konw why it isn't included in the newer next snapshorts.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-08-05 8:39 ` Uwe Kleine-König
@ 2012-08-05 10:56 ` Dirk Behme
2012-08-18 9:58 ` Dirk Behme
1 sibling, 0 replies; 7+ messages in thread
From: Dirk Behme @ 2012-08-05 10:56 UTC (permalink / raw)
To: linux-arm-kernel
On 05.08.2012 10:39, Uwe Kleine-K?nig wrote:
> On Sat, Aug 04, 2012 at 05:47:17PM +0200, Dirk Behme wrote:
>> On 30.07.2012 09:34, Uwe Kleine-K?nig wrote:
>>> Hello,
>>>
>>> On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
>>>> From: Dirk Behme<dirk.behme@googlemail.com>
>>>>
>>>> Fix the compiler warnings
>>>>
>>>> drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
>>> These should be gone in next already.
>>
>> Hmm, which next?
>>
>> I tried linux-next [1] from today (next-20120803, 55fa9961f) and still get
> next-20120725 contained 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17, don't
> konw why it isn't included in the newer next snapshorts.
First, yes, it was part of next-20120725. Second, I can confirm that
the patch [1] fixes the compiler warnings I reported above. So my
patch is obsolete now.
And third, strange is the absence in next-20120803 and 3.6-rc1. Do we
a chance to find out what's ongoing here? It would be a shame if your
patch get lost.
Many thanks
Dirk
[1] https://patchwork.kernel.org/patch/1226851/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-08-05 8:39 ` Uwe Kleine-König
2012-08-05 10:56 ` Dirk Behme
@ 2012-08-18 9:58 ` Dirk Behme
2012-08-18 11:43 ` Uwe Kleine-König
1 sibling, 1 reply; 7+ messages in thread
From: Dirk Behme @ 2012-08-18 9:58 UTC (permalink / raw)
To: linux-arm-kernel
On 05.08.2012 10:39, Uwe Kleine-K?nig wrote:
> On Sat, Aug 04, 2012 at 05:47:17PM +0200, Dirk Behme wrote:
>> On 30.07.2012 09:34, Uwe Kleine-K?nig wrote:
>>> Hello,
>>>
>>> On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
>>>> From: Dirk Behme<dirk.behme@googlemail.com>
>>>>
>>>> Fix the compiler warnings
>>>>
>>>> drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
>>>> drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
>>> These should be gone in next already.
>>
>> Hmm, which next?
>>
>> I tried linux-next [1] from today (next-20120803, 55fa9961f) and still get
> next-20120725 contained 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17, don't
> konw why it isn't included in the newer next snapshorts.
It seems to be in -next again:
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=98d7bbb9929bcc14e11ac8a55245a4f2dc174e17
I'm not so familiar with -next: Do we have any chance to get that
commit into 3.6-rcX to get this warning fixed for the final 3.6?
Best regards
Dirk
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] mtd: mxc_nand: Fix compiler warnings
2012-08-18 9:58 ` Dirk Behme
@ 2012-08-18 11:43 ` Uwe Kleine-König
0 siblings, 0 replies; 7+ messages in thread
From: Uwe Kleine-König @ 2012-08-18 11:43 UTC (permalink / raw)
To: linux-arm-kernel
Hi Dirk,
On Sat, Aug 18, 2012 at 11:58:33AM +0200, Dirk Behme wrote:
> On 05.08.2012 10:39, Uwe Kleine-K?nig wrote:
> >On Sat, Aug 04, 2012 at 05:47:17PM +0200, Dirk Behme wrote:
> >>On 30.07.2012 09:34, Uwe Kleine-K?nig wrote:
> >>>Hello,
> >>>
> >>>On Sat, Jul 28, 2012 at 11:05:10AM +0200, Dirk Behme wrote:
> >>>>From: Dirk Behme<dirk.behme@googlemail.com>
> >>>>
> >>>>Fix the compiler warnings
> >>>>
> >>>>drivers/mtd/nand/mxc_nand.c:1267: warning: initialization discards qualifiers from pointer target type
> >>>>drivers/mtd/nand/mxc_nand.c:1270: warning: initialization discards qualifiers from pointer target type
> >>>>drivers/mtd/nand/mxc_nand.c:1273: warning: initialization discards qualifiers from pointer target type
> >>>>drivers/mtd/nand/mxc_nand.c:1276: warning: initialization discards qualifiers from pointer target type
> >>>These should be gone in next already.
> >>
> >>Hmm, which next?
> >>
> >>I tried linux-next [1] from today (next-20120803, 55fa9961f) and still get
> >next-20120725 contained 98d7bbb9929bcc14e11ac8a55245a4f2dc174e17, don't
> >konw why it isn't included in the newer next snapshorts.
>
> It seems to be in -next again:
>
> http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=98d7bbb9929bcc14e11ac8a55245a4f2dc174e17
>
> I'm not so familiar with -next: Do we have any chance to get that
> commit into 3.6-rcX to get this warning fixed for the final 3.6?
Arnd sent a pull request that Linus T. seems to have ignored so far.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-08-18 11:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-28 9:05 [PATCH] mtd: mxc_nand: Fix compiler warnings Dirk Behme
2012-07-30 7:34 ` Uwe Kleine-König
2012-08-04 15:47 ` Dirk Behme
2012-08-05 8:39 ` Uwe Kleine-König
2012-08-05 10:56 ` Dirk Behme
2012-08-18 9:58 ` Dirk Behme
2012-08-18 11:43 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).