All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:guest-upstream 29/37] arch/x86/mm/mem_encrypt.c:96:13: warning: no previous prototype for 'mem_encrypt_init'
@ 2021-11-17 13:30 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-17 13:30 UTC (permalink / raw)
  To: Kirill A. Shutemov
  Cc: kbuild-all, linux-kernel, Kuppuswamy Sathyanarayanan, Andi Kleen,
	Tony Luck

[-- Attachment #1: Type: text/plain, Size: 2440 bytes --]

tree:   https://github.com/intel/tdx.git guest-upstream
head:   6d174fafe2becc43fd3eaebd3112a5a271b82ded
commit: 3a38521c8205c1c951e57551558dbfec739516cd [29/37] x86/tdx: Make pages shared in ioremap()
config: x86_64-allyesconfig (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/3a38521c8205c1c951e57551558dbfec739516cd
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-upstream
        git checkout 3a38521c8205c1c951e57551558dbfec739516cd
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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 >>):

>> arch/x86/mm/mem_encrypt.c:96:13: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes]
      96 | void __init mem_encrypt_init(void)
         |             ^~~~~~~~~~~~~~~~


vim +/mem_encrypt_init +96 arch/x86/mm/mem_encrypt.c

446571d51af2609 Kirill A. Shutemov 2020-03-18   94  
446571d51af2609 Kirill A. Shutemov 2020-03-18   95  /* Architecture __weak replacement functions */
446571d51af2609 Kirill A. Shutemov 2020-03-18  @96  void __init mem_encrypt_init(void)
446571d51af2609 Kirill A. Shutemov 2020-03-18   97  {
446571d51af2609 Kirill A. Shutemov 2020-03-18   98  	if (!sme_me_mask)
446571d51af2609 Kirill A. Shutemov 2020-03-18   99  		return;
446571d51af2609 Kirill A. Shutemov 2020-03-18  100  
446571d51af2609 Kirill A. Shutemov 2020-03-18  101  	/* Call into SWIOTLB to update the SWIOTLB DMA buffers */
446571d51af2609 Kirill A. Shutemov 2020-03-18  102  	swiotlb_update_mem_attributes();
446571d51af2609 Kirill A. Shutemov 2020-03-18  103  
446571d51af2609 Kirill A. Shutemov 2020-03-18  104  	print_amd_mem_encrypt_feature_info();
446571d51af2609 Kirill A. Shutemov 2020-03-18  105  }
446571d51af2609 Kirill A. Shutemov 2020-03-18  106  

:::::: The code at line 96 was first introduced by commit
:::::: 446571d51af2609e66067b08442c89c5afd07843 x86: Move common memory encryption code to mem_encrypt.c

:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65323 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [intel-tdx:guest-upstream 29/37] arch/x86/mm/mem_encrypt.c:96:13: warning: no previous prototype for 'mem_encrypt_init'
@ 2021-11-17 13:30 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-17 13:30 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2490 bytes --]

tree:   https://github.com/intel/tdx.git guest-upstream
head:   6d174fafe2becc43fd3eaebd3112a5a271b82ded
commit: 3a38521c8205c1c951e57551558dbfec739516cd [29/37] x86/tdx: Make pages shared in ioremap()
config: x86_64-allyesconfig (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/3a38521c8205c1c951e57551558dbfec739516cd
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-upstream
        git checkout 3a38521c8205c1c951e57551558dbfec739516cd
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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 >>):

>> arch/x86/mm/mem_encrypt.c:96:13: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes]
      96 | void __init mem_encrypt_init(void)
         |             ^~~~~~~~~~~~~~~~


vim +/mem_encrypt_init +96 arch/x86/mm/mem_encrypt.c

446571d51af2609 Kirill A. Shutemov 2020-03-18   94  
446571d51af2609 Kirill A. Shutemov 2020-03-18   95  /* Architecture __weak replacement functions */
446571d51af2609 Kirill A. Shutemov 2020-03-18  @96  void __init mem_encrypt_init(void)
446571d51af2609 Kirill A. Shutemov 2020-03-18   97  {
446571d51af2609 Kirill A. Shutemov 2020-03-18   98  	if (!sme_me_mask)
446571d51af2609 Kirill A. Shutemov 2020-03-18   99  		return;
446571d51af2609 Kirill A. Shutemov 2020-03-18  100  
446571d51af2609 Kirill A. Shutemov 2020-03-18  101  	/* Call into SWIOTLB to update the SWIOTLB DMA buffers */
446571d51af2609 Kirill A. Shutemov 2020-03-18  102  	swiotlb_update_mem_attributes();
446571d51af2609 Kirill A. Shutemov 2020-03-18  103  
446571d51af2609 Kirill A. Shutemov 2020-03-18  104  	print_amd_mem_encrypt_feature_info();
446571d51af2609 Kirill A. Shutemov 2020-03-18  105  }
446571d51af2609 Kirill A. Shutemov 2020-03-18  106  

:::::: The code at line 96 was first introduced by commit
:::::: 446571d51af2609e66067b08442c89c5afd07843 x86: Move common memory encryption code to mem_encrypt.c

:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65323 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 13:30 [intel-tdx:guest-upstream 29/37] arch/x86/mm/mem_encrypt.c:96:13: warning: no previous prototype for 'mem_encrypt_init' kernel test robot
2021-11-17 13:30 ` 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.