Messages in this thread | | | From | Kuninori Morimoto <> | Subject | Re: Pointer Cast to Different Type Warnings in sh_mmcif.c | Date | Mon, 11 May 2015 05:25:50 +0000 |
| |
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.
| |