lkml.org 
[lkml]   [2010]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/6] atmel_spi: fix warning In function 'atmel_spi_dma_map_xfer'
    On 14:59 Sat 20 Nov     , David Brownell wrote:
    >
    >
    > --- On Sat, 11/20/10, Uwe Kleine-König <u.kleine-koenig@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.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-11-21 03:33    [W:0.034 / U:29.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site