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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202305170201.3lqxvoFV-lkp@intel.com>
Date:   Wed, 17 May 2023 02:33:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sven Schnelle <svens@...ux.ibm.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Peter Zijlstra <peterz@...radead.org>,
        Frederic Weisbecker <frederic@...nel.org>,
        "Eric W . Biederman" <ebiederm@...ssion.com>,
        Mark Rutland <mark.rutland@....com>,
        Andy Lutomirski <luto@...nel.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-s390@...r.kernel.org,
        hca@...ux.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] entry: move the exit path to header files

Hi Sven,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/core/entry]
[also build test WARNING on linus/master v6.4-rc2 next-20230516]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sven-Schnelle/entry-move-the-exit-path-to-header-files/20230516-230146
base:   tip/core/entry
patch link:    https://lore.kernel.org/r/20230516133810.171487-2-svens%40linux.ibm.com
patch subject: [PATCH 1/2] entry: move the exit path to header files
config: x86_64-defconfig
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/30656e2ff97c145a735ce61be030ba945ec99ace
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Sven-Schnelle/entry-move-the-exit-path-to-header-files/20230516-230146
        git checkout 30656e2ff97c145a735ce61be030ba945ec99ace
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vsyscall/ arch/x86/kernel/fpu/ kernel/sched/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305170201.3lqxvoFV-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/idtentry.h:11,
                    from arch/x86/include/asm/traps.h:9,
                    from arch/x86/entry/vsyscall/vsyscall_64.c:39:
   include/linux/entry-common.h: In function 'syscall_exit_work':
   include/linux/entry-common.h:572:9: error: implicit declaration of function 'audit_syscall_exit' [-Werror=implicit-function-declaration]
     572 |         audit_syscall_exit(regs);
         |         ^~~~~~~~~~~~~~~~~~
   In file included from arch/x86/entry/vsyscall/vsyscall_64.c:43:
   arch/x86/entry/vsyscall/vsyscall_trace.h: At top level:
>> arch/x86/entry/vsyscall/vsyscall_trace.h:29: warning: "TRACE_INCLUDE_FILE" redefined
      29 | #define TRACE_INCLUDE_FILE vsyscall_trace
         | 
   In file included from include/linux/entry-common.h:16,
                    from arch/x86/include/asm/idtentry.h:11,
                    from arch/x86/include/asm/traps.h:9,
                    from arch/x86/entry/vsyscall/vsyscall_64.c:39:
   include/trace/events/syscalls.h:5: note: this is the location of the previous definition
       5 | #define TRACE_INCLUDE_FILE syscalls
         | 
   cc1: some warnings being treated as errors


vim +/TRACE_INCLUDE_FILE +29 arch/x86/entry/vsyscall/vsyscall_trace.h

c149a665ac488e arch/x86/kernel/vsyscall_trace.h         Andy Lutomirski 2011-08-03  26  
c149a665ac488e arch/x86/kernel/vsyscall_trace.h         Andy Lutomirski 2011-08-03  27  #undef TRACE_INCLUDE_PATH
00398a0018d133 arch/x86/entry/vsyscall/vsyscall_trace.h Ingo Molnar     2015-06-03  28  #define TRACE_INCLUDE_PATH ../../arch/x86/entry/vsyscall/
c149a665ac488e arch/x86/kernel/vsyscall_trace.h         Andy Lutomirski 2011-08-03 @29  #define TRACE_INCLUDE_FILE vsyscall_trace

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ