Re: [PATCH] net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPLdriver

From: David Miller
Date: Sat Sep 22 2012 - 15:34:29 EST


From: Peter Huewe <peterhuewe@xxxxxx>
Date: Sat, 22 Sep 2012 04:44:18 +0200

> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>

Good catch, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/