[<prev] [next>] [day] [month] [year] [list]
Message-ID: <874mnj4rgl.wl%kuninori.morimoto.gx@renesas.com>
Date: Mon, 11 May 2015 05:25:50 +0000
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: nick <xerofoify@...il.com>
CC: <ulf.hansson@...aro.org>, <peter.griffin@...aro.org>,
<linux-mmc@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: Pointer Cast to Different Type Warnings in sh_mmcif.c
Hi nick
Thank you for your feedback
> > I guess this warning happen from
> > 5f48dd0690cbcea3f35b9ef2f05d5468dedc80b0
> > (mmc: sh_mmcif: remove slave_id settings for DMAEngine)
> >
> > I didn't check, but does cast issue is solved by this ?
> >
> > - (void *)pdata->slave_id_tx :
> > - (void *)pdata->slave_id_rx;
> > + (void *)(unsigned long)pdata->slave_id_tx :
> > + (void *)(unsigned long)pdata->slave_id_rx;
> >
> >
> > Best regards
> > ---
> > Kuninori Morimoto
> >
> Kuninori,
> After running a allmodconfig on my machine the warnings are no longer there. Either I can send in a patch fixing this or
> you can one with my name on a suggested by line, in the signed off part of your patch. The choice is up to you, I don't
> care either way.
Thank you.
Can you please send this patch ?
I can send Acked-by to your patch.
--
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