[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110617.151903.1203335395245647912.davem@davemloft.net>
Date: Fri, 17 Jun 2011 15:19:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: acme@...stprotocols.net, jcliburn@...il.com, chris.snook@...il.com,
jie.yang@...eros.com, sathya.perla@...lex.com,
subbu.seetharaman@...lex.com, ajit.khaparde@...lex.com,
rmody@...cade.com, ddutt@...cade.com,
sjur.brandeland@...ricsson.com, divy@...lsio.com,
leitao@...ux.vnet.ibm.com, amit.salecha@...gic.com,
ron.mercer@...gic.com, linux-driver@...gic.com,
anirban.chakraborty@...gic.com, jdmason@...zu.us,
linux-net-drivers@...arflare.com, shodgson@...arflare.com,
bhutchings@...arflare.com, venza@...wnhat.org, dave@...dillows.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next V2] drivers/net: Remove casts of void *
From: Joe Perches <joe@...ches.com>
Date: Thu, 16 Jun 2011 22:08:06 -0700
> Unnecessary casts of void * clutter the code.
>
> These are the remainder casts after several specific
> patches to remove netdev_priv and dev_priv.
>
> Done via coccinelle script (and a little editing):
>
> $ cat cast_void_pointer.cocci
> @@
> type T;
> T *pt;
> void *pv;
> @@
>
> - pt = (T *)pv;
> + pt = pv;
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> Acked-by: Sjur Brændeland <sjur.brandeland@...ricsson.com>
> Acked-By: Chris Snook <chris.snook@...il.com>
> Acked-by: Jon Mason <jdmason@...zu.us>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists