All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 2/2] arch/arm64/kvm/hyp/nvhe/trace.c:174:15: warning: no previous prototype for 'rb_event_size'
@ 2026-08-16 10:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-16 10:40 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

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/202608161839.5EVXqib7-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260816/202608161839.5EVXqib7-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/202608161839.5EVXqib7-lkp@intel.com/

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

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

only message in thread, other threads:[~2026-08-16 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-16 10:40 [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

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.