lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Pointer Cast to Different Type Warnings in sh_mmcif.c
Date

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.


\
 
 \ /
  Last update: 2015-05-11 07:41    [W:0.044 / U:5.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site