lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ