From: kernel test robot <lkp@intel.com>
To: Douglas Anderson <dianders@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev, Kees Cook <keescook@chromium.org>
Subject: [kees:for-next/hardening 2/2] drivers/misc/lkdtm/bugs.c:302:1: warning: 'noreturn' function does return
Date: Fri, 26 Jan 2024 22:55:29 +0800 [thread overview]
Message-ID: <202401262204.wUFKRYZF-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening
head: edb6538da3df83806fffcfc1b873d0895c81b9e8
commit: edb6538da3df83806fffcfc1b873d0895c81b9e8 [2/2] lkdtm/bugs: Adjust lkdtm_HUNG_TASK() to avoid tail call optimization
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20240126/202401262204.wUFKRYZF-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240126/202401262204.wUFKRYZF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401262204.wUFKRYZF-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
arch/mips/kernel/head.o: in function `__kernel_entry':
>> (.text+0x0): relocation truncated to fit: R_MIPS_26 against `kernel_entry'
arch/mips/kernel/head.o: in function `smp_bootstrap':
>> (.ref.text+0xd8): relocation truncated to fit: R_MIPS_26 against `start_secondary'
init/main.o: in function `set_reset_devices':
main.c:(.init.text+0x10): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x18): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `debug_kernel':
main.c:(.init.text+0x50): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x58): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `quiet_kernel':
main.c:(.init.text+0x90): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0x98): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `warn_bootconfig':
main.c:(.init.text+0xd0): relocation truncated to fit: R_MIPS_26 against `_mcount'
main.c:(.init.text+0xd8): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc'
init/main.o: in function `init_setup':
main.c:(.init.text+0x108): additional relocation overflows omitted from the output
--
drivers/misc/lkdtm/bugs.c: In function 'lkdtm_HUNG_TASK':
>> drivers/misc/lkdtm/bugs.c:302:1: warning: 'noreturn' function does return
302 | }
| ^
vim +/noreturn +302 drivers/misc/lkdtm/bugs.c
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 296
edb6538da3df83 drivers/misc/lkdtm/bugs.c Douglas Anderson 2024-01-22 297 static void __noreturn lkdtm_HUNG_TASK(void)
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 298 {
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 299 set_current_state(TASK_UNINTERRUPTIBLE);
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 300 schedule();
edb6538da3df83 drivers/misc/lkdtm/bugs.c Douglas Anderson 2024-01-22 301 BUG_ON(1);
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 @302 }
00f496c416122e drivers/misc/lkdtm_bugs.c Kees Cook 2016-06-26 303
:::::: The code at line 302 was first introduced by commit
:::::: 00f496c416122e7f5a572a4511cf87c7240ba761 lkdtm: split remaining logic bug tests to separate file
:::::: TO: Kees Cook <keescook@chromium.org>
:::::: CC: Kees Cook <keescook@chromium.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-01-26 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 14:55 kernel test robot [this message]
2024-01-26 15:58 ` [kees:for-next/hardening 2/2] drivers/misc/lkdtm/bugs.c:302:1: warning: 'noreturn' function does return Doug Anderson
2024-01-26 18:32 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202401262204.wUFKRYZF-lkp@intel.com \
--to=lkp@intel.com \
--cc=dianders@chromium.org \
--cc=keescook@chromium.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.