[OpenAFS-devel] [Patch] add module license macro to Linux kernel module
Matthew Miller
mattdm@mattdm.org
Fri, 6 May 2005 14:06:12 -0400
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, May 06, 2005 at 01:50:08PM -0400, Matthew Miller wrote:
> The attached patch addes MODULE_LICENSE("IBM Public License Version 1.0");
> to the Linux kernel module.
Um, actually attached here. Note that the patch is against to 1.3.81 but
applies to 1.3.82 just fine.
--
Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 77 degrees Fahrenheit.
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="openafs-1.3.81-modulelicense.patch"
diff -ur openafs-1.3.81.orig/src/afs/LINUX/osi_module.c openafs-1.3.81/src/afs/LINUX/osi_module.c
--- openafs-1.3.81.orig/src/afs/LINUX/osi_module.c 2005-04-03 14:21:06.000000000 -0400
+++ openafs-1.3.81/src/afs/LINUX/osi_module.c 2005-04-22 11:47:14.000000000 -0400
@@ -256,6 +256,7 @@
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
+MODULE_LICENSE("IBM Public License Version 1.0");
module_init(afs_init);
module_exit(afs_cleanup);
#endif
diff -ur openafs-1.3.81.orig/src/afs/LINUX/osi_probe.c openafs-1.3.81/src/afs/LINUX/osi_probe.c
--- openafs-1.3.81.orig/src/afs/LINUX/osi_probe.c 2005-04-06 00:58:19.000000000 -0400
+++ openafs-1.3.81/src/afs/LINUX/osi_probe.c 2005-04-22 11:47:40.000000000 -0400
@@ -1254,6 +1254,7 @@
void osi_probe_exit(void) { }
+MODULE_LICENSE("IBM Public License Version 1.0");
module_init(osi_probe_init);
module_exit(osi_probe_exit);
#endif
--sm4nu43k4a2Rpi4c--