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: <202108100334.r9SG3Vl4-lkp@intel.com>
Date:   Tue, 10 Aug 2021 03:48:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andi Kleen <ak@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Subject: [intel-tdx:guest 92/111] arch/x86/include/asm/paravirt.h:771:50:
 warning: 'struct mm_struct' declared inside parameter list will not be
 visible outside of this definition or declaration

tree:   https://github.com/intel/tdx.git guest
head:   2d14732b448b6bab674b881968fa4996c07de9f1
commit: 7a7a43f262c8f3a6019ef8aa330170ab8a585a64 [92/111] x86/tdx/paravirt: Move wrmsrl outside PARAVIRT_XXL
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/7a7a43f262c8f3a6019ef8aa330170ab8a585a64
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 7a7a43f262c8f3a6019ef8aa330170ab8a585a64
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/msr.h:254,
                    from arch/x86/kernel/trace_clock.c:7:
>> arch/x86/include/asm/paravirt.h:771:50: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration
     771 | static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm,
         |                                                  ^~~~~~~~~
   arch/x86/include/asm/paravirt.h:778:51: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration
     778 | static inline void paravirt_arch_exit_mmap(struct mm_struct *mm)
         |                                                   ^~~~~~~~~


vim +771 arch/x86/include/asm/paravirt.h

fdc0269e8958a1 Juergen Gross 2018-08-28  768  
a1ea1c032b8f8c Dave Hansen   2014-11-18  769  #ifndef __ASSEMBLY__
fdc0269e8958a1 Juergen Gross 2018-08-28  770  #ifndef CONFIG_PARAVIRT_XXL
a1ea1c032b8f8c Dave Hansen   2014-11-18 @771  static inline void paravirt_arch_dup_mmap(struct mm_struct *oldmm,
a1ea1c032b8f8c Dave Hansen   2014-11-18  772  					  struct mm_struct *mm)
a1ea1c032b8f8c Dave Hansen   2014-11-18  773  {
a1ea1c032b8f8c Dave Hansen   2014-11-18  774  }
fdc0269e8958a1 Juergen Gross 2018-08-28  775  #endif
a1ea1c032b8f8c Dave Hansen   2014-11-18  776  

:::::: The code at line 771 was first introduced by commit
:::::: a1ea1c032b8f8c23d86ef4db6d061527e9417f19 x86: Cleanly separate use of asm-generic/mm_hooks.h

:::::: TO: Dave Hansen <dave.hansen@...ux.intel.com>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (7431 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ