[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210040859.yjIUzeeH-lkp@intel.com>
Date: Tue, 4 Oct 2022 08:48:40 +0800
From: kernel test robot <lkp@...el.com>
To: Manisha Chinthapally <manisha.chinthapally@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mchinth:sep_linux_v6.0-rc7 2/2]
drivers/platform/x86/sepdk/sep/linuxos.c:91:27: warning: 'kp_munmap' defined
but not used
tree: https://github.com/mchinth/linux sep_linux_v6.0-rc7
head: 4c704363910aa00df3243bcb1658edf3fb9919c9
commit: 4c704363910aa00df3243bcb1658edf3fb9919c9 [2/2] Merge SEP5.36 into Linux tree
config: i386-randconfig-a014-20221003
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/mchinth/linux/commit/4c704363910aa00df3243bcb1658edf3fb9919c9
git remote add mchinth https://github.com/mchinth/linux
git fetch --no-tags mchinth sep_linux_v6.0-rc7
git checkout 4c704363910aa00df3243bcb1658edf3fb9919c9
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/platform/x86/sepdk/sep/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
drivers/platform/x86/sepdk/sep/linuxos.c:856:1: warning: no previous prototype for 'linuxos_online_cpu' [-Wmissing-prototypes]
856 | linuxos_online_cpu(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
drivers/platform/x86/sepdk/sep/linuxos.c:882:1: warning: no previous prototype for 'linuxos_offline_cpu' [-Wmissing-prototypes]
882 | linuxos_offline_cpu(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~
drivers/platform/x86/sepdk/sep/linuxos.c:592:1: warning: 'linuxos_Exec_Unmap_Notify' defined but not used [-Wunused-function]
592 | linuxos_Exec_Unmap_Notify(struct kprobe *p, struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform/x86/sepdk/sep/linuxos.c:91:27: warning: 'kp_munmap' defined but not used [-Wunused-variable]
91 | static struct kprobe *kp_munmap = NULL;
| ^~~~~~~~~
vim +/kp_munmap +91 drivers/platform/x86/sepdk/sep/linuxos.c
84
85 static volatile S32 hooks_installed = 0;
86 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
87 static struct tracepoint *tp_sched_switch = NULL;
88 #endif
89 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0)
90 static struct tracepoint *tp_sched_process_exit = NULL;
> 91 static struct kprobe *kp_munmap = NULL;
92 #endif
93 static struct kprobe *kp_guest_enter = NULL;
94 static struct kprobe *kp_guest_exit = NULL;
95
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (145030 bytes)
Powered by blists - more mailing lists