lkml.org 
[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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.

diff -uNr linux-2.4.16.orig/fs/inflate_fs/inflate_syms.c linux-2.4.16/fs/inflate_fs/inflate_syms.c
--- linux-2.4.16.orig/fs/inflate_fs/inflate_syms.c Thu Oct 25 22:53:53 2001
+++ linux-2.4.16/fs/inflate_fs/inflate_syms.c Mon Nov 26 19:17:33 2001
@@ -19,3 +19,4 @@
EXPORT_SYMBOL(zlib_fs_inflateReset);
EXPORT_SYMBOL(zlib_fs_adler32);
EXPORT_SYMBOL(zlib_fs_inflateSyncPoint);
+MODULE_LICENSE("GPL");
diff -uNr linux-2.4.16.orig/fs/msdos/msdosfs_syms.c linux-2.4.16/fs/msdos/msdosfs_syms.c
--- linux-2.4.16.orig/fs/msdos/msdosfs_syms.c Mon Mar 13 21:35:39 2000
+++ linux-2.4.16/fs/msdos/msdosfs_syms.c Mon Nov 26 19:16:32 2001
@@ -40,3 +40,4 @@

module_init(init_msdos_fs)
module_exit(exit_msdos_fs)
+MODULE_LICENSE("GPL");
diff -uNr linux-2.4.16.orig/fs/vfat/vfatfs_syms.c linux-2.4.16/fs/vfat/vfatfs_syms.c
--- linux-2.4.16.orig/fs/vfat/vfatfs_syms.c Fri Oct 12 22:48:42 2001
+++ linux-2.4.16/fs/vfat/vfatfs_syms.c Mon Nov 26 19:16:53 2001
@@ -33,3 +33,4 @@

module_init(init_vfat_fs)
module_exit(exit_vfat_fs)
+MODULE_LICENSE("GPL");
diff -uNr linux-2.4.16.orig/net/packet/af_packet.c linux-2.4.16/net/packet/af_packet.c
--- linux-2.4.16.orig/net/packet/af_packet.c Wed Oct 31 00:08:12 2001
+++ linux-2.4.16/net/packet/af_packet.c Mon Nov 26 19:15:45 2001
@@ -1902,3 +1902,4 @@

module_init(packet_init);
module_exit(packet_exit);
+MODULE_LICENSE("GPL");
Regards,
Andreas Krennmair
--
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.029 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site