All of lore.kernel.org
 help / color / mirror / Atom feed
* [mchinth:sep_socwatch_linux_5_17 1/1] drivers/platform/x86/socperf/socperfdrv.o: warning: objtool: socperf_Service_IOCTL()+0x1e: unreachable instruction
@ 2022-05-07 12:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-07 12:20 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, swedhanav

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-07 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-07 12:20 [mchinth:sep_socwatch_linux_5_17 1/1] drivers/platform/x86/socperf/socperfdrv.o: warning: objtool: socperf_Service_IOCTL()+0x1e: unreachable instruction kernel test robot

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.