Re: Pointer Cast to Different Type Warnings in sh_mmcif.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux