[PATCH] phy/bitbang: missing MODULE_LICENSE

Randy Dunlap randy.dunlap at oracle.com
Fri Oct 19 05:20:21 EST 2007


From: Randy Dunlap <randy.dunlap at oracle.com>

Missing MODULE_LICENSE(), loading this module taints the kernel.

Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
---
 drivers/net/phy/mdio-bitbang.c |    2 ++
 1 file changed, 2 insertions(+)

--- linux-2.6.23-git7.orig/drivers/net/phy/mdio-bitbang.c
+++ linux-2.6.23-git7/drivers/net/phy/mdio-bitbang.c
@@ -185,3 +185,5 @@ void free_mdio_bitbang(struct mii_bus *b
 	module_put(ctrl->ops->owner);
 	kfree(bus);
 }
+
+MODULE_LICENSE("GPL");



More information about the Linuxppc-dev mailing list