[android-common:android15-6.6 2/2] arch/arm64/kvm/hyp/nvhe/trace.c:174:15: warning: no previous prototype for 'rb_event_size'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://android.googlesource.com/kernel/common android15-6.6 head: 24c059d9e217f32d61570fdbd7eb66bc999657a9 commit: 794f874404060e7e14863872950b53e6a7aa9b68 [2/2] ANDROID: KVM: arm64: Add tracing support for the nVHE hyp config: arm64-randconfig-004-20260816 (https://download.01.org/0day-ci/archive/20260816/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260816/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): arch/arm64/kvm/hyp/nvhe/trace.c: In function 'rb_move_tail': arch/arm64/kvm/hyp/nvhe/trace.c:134:49: warning: variable 'new_head' set but not used [-Wunused-but-set-variable] 134 | struct hyp_buffer_page *tail_page, *new_tail, *new_head; | ^~~~~~~~ arch/arm64/kvm/hyp/nvhe/trace.c: At top level: >> arch/arm64/kvm/hyp/nvhe/trace.c:174:15: warning: no previous prototype for 'rb_event_size' [-Wmissing-prototypes] 174 | unsigned long rb_event_size(unsigned long length) | ^~~~~~~~~~~~~ vim +/rb_event_size +174 arch/arm64/kvm/hyp/nvhe/trace.c 173 > 174 unsigned long rb_event_size(unsigned long length) 175 { 176 struct ring_buffer_event *event; 177 178 return length + RB_EVNT_HDR_SIZE + sizeof(event->array[0]); 179 } 180 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki