lkml.org 
[lkml]   [2011]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRE: [PATCH net-next 2/2] drivers/net: Remove casts of void *
    Hi,

    [Joe Perches]:
    > Unnecessary casts of void * clutter the code.
    >--- a/drivers/net/caif/caif_shmcore.c
    >+++ b/drivers/net/caif/caif_shmcore.c
    >@@ -134,7 +134,7 @@ int caif_shmdrv_rx_cb(u32 mbx_msg, void *priv)
    > u32 avail_emptybuff = 0;
    > unsigned long flags = 0;
    >
    >- pshm_drv = (struct shmdrv_layer *)priv;
    >+ pshm_drv = priv;
    >


    CAIF parts looks good to me,

    Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
    --
    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: 2011-06-14 19:57    [W:0.031 / U:33.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site