[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikGtUEYfU=8ZLGLiTdmOd3dE1+btQ@mail.gmail.com>
Date: Fri, 17 Jun 2011 07:25:48 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Joe Perches <joe@...ches.com>
Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Jay Cliburn <jcliburn@...il.com>,
Chris Snook <chris.snook@...il.com>,
Jie Yang <jie.yang@...eros.com>,
Sathya Perla <sathya.perla@...lex.com>,
Subbu Seetharaman <subbu.seetharaman@...lex.com>,
Ajit Khaparde <ajit.khaparde@...lex.com>,
Rasesh Mody <rmody@...cade.com>,
Debashis Dutt <ddutt@...cade.com>,
Sjur Braendeland <sjur.brandeland@...ricsson.com>,
Divy Le Ray <divy@...lsio.com>,
Breno Leitao <leitao@...ux.vnet.ibm.com>,
Amit Kumar Salecha <amit.salecha@...gic.com>,
Ron Mercer <ron.mercer@...gic.com>, linux-driver@...gic.com,
Anirban Chakraborty <anirban.chakraborty@...gic.com>,
Jon Mason <jdmason@...zu.us>,
Solarflare linux maintainers <linux-net-drivers@...arflare.com>,
Steve Hodgson <shodgson@...arflare.com>,
Ben Hutchings <bhutchings@...arflare.com>,
Daniele Venzano <venza@...wnhat.org>,
David Dillow <dave@...dillows.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next V2] drivers/net: Remove casts of void *
On Fri, Jun 17, 2011 at 07:08, Joe Perches <joe@...ches.com> wrote:
> 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>
>
> ---
>
> v2: Update to Geert's request
[For a2065]
Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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