]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver
authorPeter Hüwe <PeterHuewe@gmx.de>
Fri, 21 Sep 2012 16:44:18 +0000 (16:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2012 19:33:46 +0000 (15:33 -0400)
commit24200779b3a69a7242be2a695f68d86e08e0d57d
treeaf997e90635ce8ea45baeb4b50605efc31c3c59e
parentbf754f8c3cdbfff814628736f2525dfde5380adf
net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver

Currently the driver has no MODULE_LICENSE attribute in its source which
results in a kernel taint if I load this:

root@(none):~# modprobe bcm87xx
bcm87xx: module license 'unspecified' taints kernel.

Since the first lines of the source code clearly state:
 * This file is subject to the terms and conditions of the GNU General
 * Public License.  See the file "COPYING" in the main directory of this
 * archive for more details.
I think it's safe to add the MODULE_LICENSE("GPL") macro and thus remove
the kernel taint.

Cc: stable@vger.kernel.org
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm87xx.c