diff options
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-module-taint.patch')
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-module-taint.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-module-taint.patch b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-module-taint.patch new file mode 100644 index 0000000..da3cd68 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-module-taint.patch @@ -0,0 +1,21 @@ + For usage of rs9113 driver. Another reason not to want + to use this driver. +=========================================================== +diff -Naru a/kernel/module.c b/kernel/module.c +--- a/kernel/module.c 2022-06-17 15:57:38.000000000 -0500 ++++ b/kernel/module.c 2022-06-28 15:48:04.441116492 -0500 +@@ -1476,14 +1476,6 @@ + if (!sym) + goto unlock; + +- if (license == GPL_ONLY) +- mod->using_gplonly_symbols = true; +- +- if (!inherit_taint(mod, owner)) { +- sym = NULL; +- goto getname; +- } +- + if (!check_version(info, name, mod, crc)) { + sym = ERR_PTR(-EINVAL); + goto getname; |