[2.4 patch] net/802/{p8022,psnap}.c: add MODULE_LICENSE

From: Adrian Bunk
Date: Wed May 19 2004 - 12:59:00 EST


On Wed, May 19, 2004 at 12:27:42PM +0200, Oliver Feiler wrote:

> Hi Adrian,

Hi Oliver,

>...
> Yes, works fine. No unresolved symbols.

thanks for the confirmation, and also thanks for this report.

> FWIW, the modules psnap.o and p8022.o don't export a license and taint the
> kernel:
>...

A fix is below (stolen from 2.6 ;-) ).

> Oliver

cu
Adrian

--- linux-2.4.27-pre2-full/net/802/p8022.c.old 2004-05-19 19:47:59.000000000 +0200
+++ linux-2.4.27-pre2-full/net/802/p8022.c 2004-05-19 19:51:42.000000000 +0200
@@ -142,3 +142,5 @@

restore_flags(flags);
}
+
+MODULE_LICENSE("GPL");
--- linux-2.4.27-pre2-full/net/802/psnap.c.old 2004-05-19 19:52:22.000000000 +0200
+++ linux-2.4.27-pre2-full/net/802/psnap.c 2004-05-19 19:52:33.000000000 +0200
@@ -152,3 +152,5 @@

restore_flags(flags);
}
+
+MODULE_LICENSE("GPL");
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html