diff options
| author | 2022-09-08 14:54:56 -0700 | |
|---|---|---|
| committer | 2022-09-26 10:13:14 -0700 | |
| commit | 4b24356312fbe1bace72f9905d529b14fc34c1c3 (patch) | |
| tree | 29bbd70d6008c86cb06627b88eeefe7566c9340d /include/linux | |
| parent | treewide: Drop function_nocfi (diff) | |
| download | linux-dev-4b24356312fbe1bace72f9905d529b14fc34c1c3.tar.xz linux-dev-4b24356312fbe1bace72f9905d529b14fc34c1c3.zip | |
treewide: Drop WARN_ON_FUNCTION_MISMATCH
CONFIG_CFI_CLANG no longer breaks cross-module function address
equality, which makes WARN_ON_FUNCTION_MISMATCH unnecessary. Remove
the definition and switch back to WARN_ON_ONCE.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220908215504.3686827-15-samitolvanen@google.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
