Przeglądaj źródła

samples/kobject: be explicit in the module license

Rusty pointed out that the module license should be "GPL v2" to properly
match the notice at the top of the files, so make that change.

Reported-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman 10 lat temu
rodzic
commit
07afb6ace3

+ 1 - 1
samples/kobject/kobject-example.c

@@ -142,5 +142,5 @@ static void __exit example_exit(void)
 
 
 module_init(example_init);
 module_init(example_init);
 module_exit(example_exit);
 module_exit(example_exit);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");
 MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");

+ 1 - 1
samples/kobject/kset-example.c

@@ -285,5 +285,5 @@ static void __exit example_exit(void)
 
 
 module_init(example_init);
 module_init(example_init);
 module_exit(example_exit);
 module_exit(example_exit);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");
 MODULE_AUTHOR("Greg Kroah-Hartman <greg@kroah.com>");