[PATCH 6/6] atmel_spi: fix warning In function 'atmel_spi_dma_map_xfer'

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Nov 20 21:19:34 EST 2010


On 14:59 Sat 20 Nov     , David Brownell wrote:
> 
> 
> --- On Sat, 11/20/10, Uwe Kleine-König <u.kleine-koenig at pengutronix.de> wrote:
> 
> > > +        void
> > *nonconst_tx = (void *)xfer->tx_buf; /* shut up gcc */
> 
> Reads like a bad patch to me. Fix the bug,
> don't just silence GCC.  Or at least use
> a better comment mentioning a constness
> cast problems).

ok I change the comment

Best Regards,
J.



More information about the linux-arm-kernel mailing list