lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210221209.jPTHPceG-lkp@intel.com>
Date:   Sat, 22 Oct 2022 12:16:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Manisha Chinthapally <manisha.chinthapally@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mchinth:socwatch_linux_6_0 1/1]
 drivers/platform/x86/sepdk/sep/sys64.o: warning: objtool:
 SYS_Get_GDT_Base+0x3: 'naked' return found in RETHUNK build

tree:   https://github.com/mchinth/linux socwatch_linux_6_0
head:   32b2f1b19c12122a110fa6b673c000ef6bd5ee8b
commit: 32b2f1b19c12122a110fa6b673c000ef6bd5ee8b [1/1] SEP/SOCPERF drivers updated to 5.36
config: x86_64-rhel-8.3-syz
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/mchinth/linux/commit/32b2f1b19c12122a110fa6b673c000ef6bd5ee8b
        git remote add mchinth https://github.com/mchinth/linux
        git fetch --no-tags mchinth socwatch_linux_6_0
        git checkout 32b2f1b19c12122a110fa6b673c000ef6bd5ee8b
        # 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 where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/platform/x86/sepdk/sep/sys_info.c: In function 'sys_info_Fill_CPUID':
>> drivers/platform/x86/sepdk/sep/sys_info.c:356:21: warning: variable 'num_cores' set but not used [-Wunused-but-set-variable]
     356 |         U32         num_cores                = 0;
         |                     ^~~~~~~~~
   drivers/platform/x86/sepdk/sep/sys_info.c:344:21: warning: variable 'family' set but not used [-Wunused-but-set-variable]
     344 |         U32         family                   = 0;
         |                     ^~~~~~
   drivers/platform/x86/sepdk/sep/sys_info.c: In function 'SYS_INFO_Build':
   drivers/platform/x86/sepdk/sep/sys_info.c:957:30: warning: variable 'me' set but not used [-Wunused-but-set-variable]
     957 |         int                  me;
         |                              ^~
--
>> drivers/platform/x86/sepdk/sep/sys64.o: warning: objtool: SYS_Get_GDT_Base+0x3: 'naked' return found in RETHUNK build
>> drivers/platform/x86/sepdk/sep/sys64.o: warning: objtool: SYS_IO_Delay+0x0: 'naked' return found in RETHUNK build
--
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_single_bar_Enable_PMU':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:455:24: warning: variable 'num_pkgs' set but not used [-Wunused-but-set-variable]
     455 |         U32            num_pkgs     = num_packages;
         |                        ^~~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c:453:24: warning: variable 'num_events' set but not used [-Wunused-but-set-variable]
     453 |         U32            num_events   = 0;
         |                        ^~~~~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_mch_regbar_Enable_PMU':
>> drivers/platform/x86/sepdk/sep/unc_mmio.c:652:20: warning: variable 'cur_grp' set but not used [-Wunused-but-set-variable]
     652 |     U32            cur_grp          = 0;
         |                    ^~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_mch_regbar_Disable_PMU':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:958:20: warning: variable 'cur_grp' set but not used [-Wunused-but-set-variable]
     958 |     U32            cur_grp          = 0;
         |                    ^~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_mch_regar_Trigger_Read':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:1288:21: warning: variable 'cur_grp' set but not used [-Wunused-but-set-variable]
    1288 |     U32             cur_grp             = 0;
         |                     ^~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_multiple_bar_Trigger_Read':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:1370:24: warning: variable 'idx_w' set but not used [-Wunused-but-set-variable]
    1370 |         U32            idx_w                  = 0;
         |                        ^~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_single_bar_Read_PMU_Data':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:1498:24: warning: variable 'num_pkgs' set but not used [-Wunused-but-set-variable]
    1498 |         U32            num_pkgs     = num_packages;
         |                        ^~~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c:1494:24: warning: variable 'num_events' set but not used [-Wunused-but-set-variable]
    1494 |         U32            num_events   = 0;
         |                        ^~~~~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_mch_regbar_Read_PMU_Data':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:1658:20: warning: variable 'cur_grp' set but not used [-Wunused-but-set-variable]
    1658 |     U32            cur_grp          = 0;
         |                    ^~~~~~~
   drivers/platform/x86/sepdk/sep/unc_mmio.c: In function 'unc_mmio_multiple_bar_Initialize':
   drivers/platform/x86/sepdk/sep/unc_mmio.c:2211:23: warning: variable 'virtual_address' set but not used [-Wunused-but-set-variable]
    2211 |         U64           virtual_address        = 0;
         |                       ^~~~~~~~~~~~~~~


objdump-func vmlinux.o SYS_Get_GDT_Base:

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (182308 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ