From: kernel test robot <lkp@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@linux.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
Date: Tue, 10 Aug 2021 03:48:41 +0800 [thread overview]
Message-ID: <202108100334.r9SG3Vl4-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2617 bytes --]
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@intel.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@linux.intel.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
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: 7431 bytes --]
reply other threads:[~2021-08-09 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108100334.r9SG3Vl4-lkp@intel.com \
--to=lkp@intel.com \
--cc=ak@linux.intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®