Skip to contentSkip to conversation

Fix for a few annoying "no license" warnings

PATCH New Andreas Krennmair 1 participant 1 message Nov 26, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix for a few annoying "no license" warnings

Hello Marcelo,
the following patch fixes these annoying "no license" warning from insmod for af_packet.o, msdos.o, vfat.o, inflate_fs.o by adding the MODULE_LICENSE. The patch is against 2.4.16.

fs/inflate_fs/inflate_syms.c +1 -0
diff -uNr linux-2.4.16.orig/fs/inflate_fs/inflate_syms.c linux-2.4.16/fs/inflate_fs/inflate_syms.c
@@ -19,3 +19,4 @@
 EXPORT_SYMBOL(zlib_fs_inflateReset);
 EXPORT_SYMBOL(zlib_fs_adler32);
 EXPORT_SYMBOL(zlib_fs_inflateSyncPoint);
+MODULE_LICENSE("GPL");
fs/msdos/msdosfs_syms.c +1 -0
diff -uNr linux-2.4.16.orig/fs/msdos/msdosfs_syms.c linux-2.4.16/fs/msdos/msdosfs_syms.c
@@ -40,3 +40,4 @@
 
 module_init(init_msdos_fs)
 module_exit(exit_msdos_fs)
+MODULE_LICENSE("GPL");
fs/vfat/vfatfs_syms.c +1 -0
diff -uNr linux-2.4.16.orig/fs/vfat/vfatfs_syms.c linux-2.4.16/fs/vfat/vfatfs_syms.c
@@ -33,3 +33,4 @@
 
 module_init(init_vfat_fs)
 module_exit(exit_vfat_fs)
+MODULE_LICENSE("GPL");
net/packet/af_packet.c +1 -0
diff -uNr linux-2.4.16.orig/net/packet/af_packet.c linux-2.4.16/net/packet/af_packet.c
@@ -1902,3 +1902,4 @@
 
 module_init(packet_init);
 module_exit(packet_exit);
+MODULE_LICENSE("GPL");

Regards,
Andreas Krennmair

Signature · 4 lines
I know I could use the "mem=6M" switch to test it out myself, but I keep
telling myself that I have a lot of testers who have nothing better to do
than make me happy. Right? ("Yes Master").
  -- Linus Torvalds