diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-05-16 12:38:53 +0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-05-18 16:17:52 +0200 |
commit | c07038da27cefa5a93e433909b9aca594386ddc1 (patch) | |
tree | a134c0037d935a568694cebe8a1124f0e3d603e1 /target/linux/ramips/rt305x | |
parent | 8217f02a1c5e2396f083793575de2e79811842e8 (diff) | |
download | upstream-c07038da27cefa5a93e433909b9aca594386ddc1.tar.gz upstream-c07038da27cefa5a93e433909b9aca594386ddc1.tar.bz2 upstream-c07038da27cefa5a93e433909b9aca594386ddc1.zip |
kernel: add MODULE_ALLOW_BTF_MISMATCH option
BTF mismatch can occur for a separately-built module even when the ABI
is otherwise compatible and nothing else would prevent successfully
loading. Add a new config to control how mismatches are handled. By
default, preserve the current behavior of refusing to load the
module. If MODULE_ALLOW_BTF_MISMATCH is enabled, load the module but
ignore its BTF information.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'target/linux/ramips/rt305x')
0 files changed, 0 insertions, 0 deletions