All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android15-6.6-desktop 2/2] arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function
Date: Wed, 26 Feb 2025 10:21:04 +0800	[thread overview]
Message-ID: <202502261003.oSgTw6h8-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android15-6.6-desktop
head:   1340b52753f1557497f8d399a5e8ec6bf6a76002
commit: 1cd69cd68d8470b2504c03c331dca866646cacff [2/2] Merge branch 'android15-6.6-2aa57daa75e0' into android15-6.6-desktop
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250226/202502261003.oSgTw6h8-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250226/202502261003.oSgTw6h8-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502261003.oSgTw6h8-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/x86/coco/pkvm/pkvm.c:10:
>> arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function [-Wvisibility]
     151 | u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
         |                                       ^
   arch/x86/coco/pkvm/pkvm.c:53:27: error: variable has incomplete type 'struct tdx_module_output'
      53 |         struct tdx_module_output out;
         |                                  ^
   arch/x86/coco/pkvm/pkvm.c:53:9: note: forward declaration of 'struct tdx_module_output'
      53 |         struct tdx_module_output out;
         |                ^
   1 warning and 1 error generated.
--
   In file included from arch/x86/kernel/cpu/pkvm.c:7:
>> arch/x86/include/asm/pkvm.h:151:39: warning: declaration of 'struct tdx_module_output' will not be visible outside of this function [-Wvisibility]
     151 | u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
         |                                       ^
   1 warning generated.


vim +151 arch/x86/include/asm/pkvm.h

317d3034702744 Shaoqin Huang 2022-12-06  150  
0b97a4c41ed1bc Shaoqin Huang 2022-12-07 @151  u64 __pkvm_module_call(u64 fn, struct tdx_module_output *out);
0b97a4c41ed1bc Shaoqin Huang 2022-12-07  152  

:::::: The code at line 151 was first introduced by commit
:::::: 0b97a4c41ed1bcb8f14bd5c08e1714877bb0c2a8 ANDROID: pkvm: x86: Add pkvm guest virtualization exception (#VE)

:::::: TO: Shaoqin Huang <shaoqin.huang@intel.com>
:::::: CC: Tomasz Nowicki <tnowicki@google.com>

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

                 reply	other threads:[~2025-02-26  2:22 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=202502261003.oSgTw6h8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 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.