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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 10 Oct 2012 19:28:11 +0100
From:	Srinivas KANDAGATLA <srinivas.kandagatla@...com>
To:	davem@...emloft.net
Cc:	srinivas.kandagatla@...com, bordug@...mvista.com,
	netdev@...r.kernel.org, david.daney@...ium.com,
	linville@...driver.com, kaloz@...nwrt.org
Subject: [PATCH 3.6.0- 0/3] NET: use module_platform_driver macro

From: Srinivas Kandagatla <srinivas.kandagatla@...com>

Running below Coccinelle lookup pattern like below on the 
latest kernel showed about 52 hits. This patch series is a subset 
of those 52 patches, so that it will be easy for maintainers to review.
Hopefully these patches will get rid of some code duplication in kernel.

@  @
- initfunc(void)
- { return platform_driver_register(&dr); }

...

- module_init(initfunc);
...

- exitfunc(void)
- { platform_driver_unregister(&dr); }

...

- module_exit(exitfunc);
+ module_platform_driver(dr); 


Srinivas Kandagatla (3):
  net/mdio-gpio: use module_platform_driver macro
  net/mdio-octeon: use module_platform_driver macro
  wireless/ath5k: use module_platform_driver macro

 drivers/net/phy/mdio-gpio.c          |   13 +------------
 drivers/net/phy/mdio-octeon.c        |   14 +-------------
 drivers/net/wireless/ath/ath5k/ahb.c |   16 +---------------
 3 files changed, 3 insertions(+), 40 deletions(-)

--
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