From: kernel test robot <lkp@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
swedhanav <swedhana.viswanathan@intel.com>
Subject: [mchinth:sep_socwatch_linux_5_17 1/1] drivers/platform/x86/socperf/socperfdrv.o: warning: objtool: socperf_Service_IOCTL()+0x1e: unreachable instruction
Date: Sat, 7 May 2022 20:20:31 +0800 [thread overview]
Message-ID: <202205072006.fzA1yAt5-lkp@intel.com> (raw)
tree: https://github.com/mchinth/linux sep_socwatch_linux_5_17
head: 279a0843e522ec88123ebc978d37ddb6bf7bb2b8
commit: 279a0843e522ec88123ebc978d37ddb6bf7bb2b8 [1/1] Merge branch 'master' into sep_socwatch_linux_5_17
config: x86_64-randconfig-a004-20220502 (https://download.01.org/0day-ci/archive/20220507/202205072006.fzA1yAt5-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/mchinth/linux/commit/279a0843e522ec88123ebc978d37ddb6bf7bb2b8
git remote add mchinth https://github.com/mchinth/linux
git fetch --no-tags mchinth sep_socwatch_linux_5_17
git checkout 279a0843e522ec88123ebc978d37ddb6bf7bb2b8
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/platform/x86/socperf/socperfdrv.c:208:13: warning: no previous prototype for 'SOCPERF_Read_Data3' [-Wmissing-prototypes]
208 | extern VOID SOCPERF_Read_Data3(PVOID data_buffer)
| ^~~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:990:1: warning: no previous prototype for 'SOCPERF_Switch_Group3' [-Wmissing-prototypes]
990 | SOCPERF_Switch_Group3(VOID)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:1175:13: warning: no previous prototype for 'lwpmudrv_Stop_Mem' [-Wmissing-prototypes]
1175 | extern VOID lwpmudrv_Stop_Mem(VOID)
| ^~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:1392:22: warning: no previous prototype for 'socperf_Service_IOCTL' [-Wmissing-prototypes]
1392 | extern IOCTL_OP_TYPE socperf_Service_IOCTL(IOCTL_USE_INODE struct file *filp,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:1516:13: warning: no previous prototype for 'socperf_Device_Control' [-Wmissing-prototypes]
1516 | extern long socperf_Device_Control(IOCTL_USE_INODE struct file *filp,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:1551:13: warning: no previous prototype for 'socperf_Device_Control_Compat' [-Wmissing-prototypes]
1551 | extern long socperf_Device_Control_Compat(struct file *filp, unsigned int cmd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/platform/x86/socperf/socperfdrv.c:1602:12: warning: no previous prototype for 'SOCPERF_Abnormal_Terminate' [-Wmissing-prototypes]
1602 | extern int SOCPERF_Abnormal_Terminate(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform/x86/socperf/socperfdrv.o: warning: objtool: socperf_Service_IOCTL()+0x1e: unreachable instruction
--
drivers/platform/x86/socwatch/sw_driver.c: In function 'sw_collection_stop_i':
drivers/platform/x86/socwatch/sw_driver.c:573:101: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
573 | "Warning: some trace_notifier probe functions could NOT be unregistered!\n");
| ^
drivers/platform/x86/socwatch/sw_driver.c: In function 'sw_collection_poll_i':
drivers/platform/x86/socwatch/sw_driver.c:642:56: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
642 | pw_pr_debug("DEBUG: EMPTY POLL LIST\n");
| ^
drivers/platform/x86/socwatch/sw_driver.c: In function 'sw_load_driver_i':
drivers/platform/x86/socwatch/sw_driver.c:1698:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
1698 | pw_pr_debug("OK, resetting worked\n");
| ^
drivers/platform/x86/socwatch/sw_driver.c: In function 'sw_unload_driver_i':
drivers/platform/x86/socwatch/sw_driver.c:1715:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
1715 | pw_pr_debug("OK, resetting worked\n");
| ^
>> drivers/platform/x86/socwatch/sw_driver.o: warning: objtool: sw_unlocked_handle_ioctl_i()+0x171: unreachable instruction
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-07 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202205072006.fzA1yAt5-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=swedhana.viswanathan@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox