Skip to contentSkip to conversation

esp.c is GPL

PATCH RESEND Applied Joshua Kwan 2 participants 2 messages Aug 2, 2004 – Aug 3, 2004

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

PATCH RESEND 1/1 esp.c is GPL

Hi Dave,

Sent you a smaller version of this patch before. This 'backports' the setting of MODULE_LICENSE("GPL") for the following files, from all the way back to 2.6.1, to 2.4.26 (should apply on latest BK too):

 fc4/fc.c            |    2 ++
 sbus/char/bpp.c     |    2 ++
 sbus/char/vfc_dev.c |    2 +-
 scsi/esp.c          |    2 +-
 scsi/fcal.c         |    2 +-
 scsi/pluto.c        |    2 +-
 scsi/qlogicpti.c    |    2 +-
 7 files changed, 9 insertions(+), 5 deletions(-)

It also removes EXPORT_NO_SYMBOLS from those files based on the advice from Jan-Benedict Glaw.

This patch is necessary so these drivers if built as modules (especially esp and bpp) don't taint the kernel erroneously. I might have mislicensed some files though, if they have changed or have been rewritten since 2.4 days.

Please apply if all is well.

Signature · 1 line
Joshua Kwan
drivers/fc4/fc.c renamed from drivers/fc4/fc.c~ +2 -0
@@ -1155,3 +1155,5 @@
 	kfree(p);
 	return status;
 }
+
+MODULE_LICENSE("GPL");
drivers/sbus/char/bpp.c renamed from drivers/sbus/char/bpp.c~ +2 -0
@@ -1073,3 +1073,5 @@
 
 module_init(bpp_init);
 module_exit(bpp_cleanup);
+
+MODULE_LICENSE("GPL");
drivers/sbus/char/vfc_dev.c renamed from drivers/sbus/char/vfc_dev.c~ +1 -1
@@ -743,4 +743,4 @@
 }
 #endif
 
-
+MODULE_LICENSE("GPL");
drivers/scsi/esp.c renamed from drivers/scsi/esp.c~ +1 -1
@@ -4368,4 +4368,4 @@
 
 #include "scsi_module.c"
 
-EXPORT_NO_SYMBOLS;
+MODULE_LICENSE("GPL");
drivers/scsi/fcal.c renamed from drivers/scsi/fcal.c~ +1 -1
@@ -300,4 +300,4 @@
 
 #include "scsi_module.c"
 
-EXPORT_NO_SYMBOLS;
+MODULE_LICENSE("GPL");
drivers/scsi/pluto.c renamed from drivers/scsi/pluto.c~ +1 -1
@@ -339,4 +339,4 @@
 
 #include "scsi_module.c"
 
-EXPORT_NO_SYMBOLS;
+MODULE_LICENSE("GPL");
drivers/scsi/qlogicpti.c renamed from drivers/scsi/qlogicpti.c~ +1 -1
@@ -1533,4 +1533,4 @@
 
 #include "scsi_module.c"
 
-EXPORT_NO_SYMBOLS;
+MODULE_LICENSE("GPL");
#1 lore raw
Quoted 3 lines · On Mon, 2 Aug 2004 10:30:47 -0700 [email protected] (Joshua Kwan) wrote:

Sent you a smaller version of this patch before. This 'backports' the setting of MODULE_LICENSE("GPL") for the following files, from all the way back to 2.6.1, to 2.4.26 (should apply on latest BK too):

Applied, but I may not send this in to Marcel until the next release.