All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-kiwi-6.1 192/192] arch/arm64/kvm/hyp_trace.c:595:36: warning: unused variable 'hyp_trace_ops'
@ 2026-07-18 20:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-18 20:32 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Vincent,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android14-kiwi-6.1
head:   15bdff0dd01eed4ffc4ae138c5a611d8b102a4b6
commit: a6af57723d00e6d80d21f6171f3cb4574aba159d [192/192] ANDROID: KVM: arm64: Remove the non-consuming hyp trace interface
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260719/202607190424.4it7LZtK-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5c0dfced1adc55429e32b1db08570abd3a219d85)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260719/202607190424.4it7LZtK-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/202607190424.4it7LZtK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from <built-in>:3:
   In file included from include/linux/compiler_types.h:94:
   include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
      24 | #define __SANITIZE_ADDRESS__
         |         ^
   <built-in>:371:9: note: previous definition is here
     371 | #define __SANITIZE_ADDRESS__ 1
         |         ^
   arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing' [-Wmissing-prototypes]
     245 | void hyp_poke_tracing(int cpu, const struct cpumask *cpus)
         |      ^
   arch/arm64/kvm/hyp_trace.c:245:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     245 | void hyp_poke_tracing(int cpu, const struct cpumask *cpus)
         | ^
         | static 
>> arch/arm64/kvm/hyp_trace.c:595:36: warning: unused variable 'hyp_trace_ops' [-Wunused-const-variable]
     595 | static const struct seq_operations hyp_trace_ops = {
         |                                    ^~~~~~~~~~~~~
   3 warnings generated.


vim +/hyp_trace_ops +595 arch/arm64/kvm/hyp_trace.c

34305ad4b1bbf0 Vincent Donnefort 2022-08-25  594  
34305ad4b1bbf0 Vincent Donnefort 2022-08-25 @595  static const struct seq_operations hyp_trace_ops = {
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  596  	.start	= ht_start,
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  597  	.next	= ht_next,
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  598  	.stop	= ht_stop,
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  599  	.show	= ht_show,
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  600  };
34305ad4b1bbf0 Vincent Donnefort 2022-08-25  601  

:::::: The code at line 595 was first introduced by commit
:::::: 34305ad4b1bbf0b1938712ef0070a78d8b2c3583 ANDROID: KVM: arm64: Add host support for the nVHE hyp tracing

:::::: TO: Vincent Donnefort <vdonnefort@google.com>
:::::: CC: Vincent Donnefort <vdonnefort@google.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-18 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 20:32 [android-common:android14-kiwi-6.1 192/192] arch/arm64/kvm/hyp_trace.c:595:36: warning: unused variable 'hyp_trace_ops' 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.