Skip to content

Commit 07afb6a

Browse files
committed
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5fd637e commit 07afb6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/kobject/kobject-example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ static void __exit example_exit(void)
142142

143143
module_init(example_init);
144144
module_exit(example_exit);
145-
MODULE_LICENSE("GPL");
145+
MODULE_LICENSE("GPL v2");
146146
MODULE_AUTHOR("Greg Kroah-Hartman <[email protected]>");

samples/kobject/kset-example.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,5 +285,5 @@ static void __exit example_exit(void)
285285

286286
module_init(example_init);
287287
module_exit(example_exit);
288-
MODULE_LICENSE("GPL");
288+
MODULE_LICENSE("GPL v2");
289289
MODULE_AUTHOR("Greg Kroah-Hartman <[email protected]>");

0 commit comments

Comments
 (0)