diff options
| author | Josh Poimboeuf <[email protected]> | 2025-04-09 22:49:36 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-04-10 20:55:00 +0000 |
| commit | 87cb582d2f55d379ce95b5bcc4ec596e29b0a65e (patch) | |
| tree | 2f59be37d12c8b4b5e30c893eada1ffd83c8d23a /rust/helpers/platform.c | |
| parent | objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STAC (diff) | |
| download | kernel-87cb582d2f55d379ce95b5bcc4ec596e29b0a65e.tar.gz kernel-87cb582d2f55d379ce95b5bcc4ec596e29b0a65e.zip | |
objtool: Fix false-positive "ignoring unreachables" warning
There's no need to try to automatically disable unreachable warnings if
they've already been manually disabled due to CONFIG_KCOV quirks.
This avoids a spurious warning with a KCOV kernel:
fs/smb/client/cifs_unicode.o: warning: objtool: cifsConvertToUTF16.part.0+0xce5: ignoring unreachables due to jump table quirk
Fixes: eeff7ac61526 ("objtool: Warn when disabling unreachable warnings")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/5eb28eeb6a724b7d945a961cfdcf8d41e6edf3dc.1744238814.git.jpoimboe@kernel.org
Closes: https://lore.kernel.org/r/[email protected]/
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
