Skip to contentSkip to conversation

compat: fix kfifo taint's kernel (missing license info)

PATCH In review [email protected] 2 participants 2 messages May 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat: fix kfifo taint's kernel (missing license info)

compat wireless kfifo modul has no MODULE_LICENSE. The kernel does'nt like this.

Sorry for the last empty mail...

Signature · 13 lines
Arne Fitzenreiter
----------------------------------------------
mailto:[email protected]
http://www.fitzenreiter.de
ICQ: 285-193-731
----------------------------------------------
Tel: +49 179/8603400 (Mo-Do 17-22 Uhr)
Tel: +49 36337/18300 (Wochendende)
sip://[email protected]
----------------------------------------------

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
compat/kfifo.c +4 -0
diff -Naur compat-wireless-2.6.39-1-sn.org/compat/kfifo.c compat-wireless-2.6.39-1-sn/compat/kfifo.c
@@ -27,6 +27,10 @@
 #include <linux/uaccess.h>
 #include <linux/kfifo.h>
 
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Stefani Seibold <[email protected]>");
+MODULE_DESCRIPTION("A generic kernel FIFO implementation");
+
 /*
  * internal helper to calculate the unused elements in a fifo
  */
#1 lore raw
Quoted 3 lines · On Tue, 24 May 2011 19:33:01 +0200 [email protected] wrote:

compat wireless kfifo modul has no MODULE_LICENSE. The kernel does'nt like this.

Sorry for the last empty mail...

OK, I'm not familiar with how the compat patches work, but...

in what kernel can kfifo be built as a loadable module?

or if kfifo is builtin (vs. being built as a loadable module), does the missing license info message still happen?

thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***