* [linux-next:master 5016/10451] kernel/trace/trace.c:7534:37: error: 'last_boot_fops' defined but not used
@ 2024-07-05 6:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-05 6:54 UTC (permalink / raw)
To: Steven Rostedt (Google); +Cc: oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0b58e108042b0ed28a71cd7edf5175999955b233
commit: 7a1d1e4b9639ff08b2f42605c2950ae1ba4a43bf [5016/10451] tracing/ring-buffer: Add last_boot_info file to boot instance
config: x86_64-sof-customedconfig-atom-defconfig (https://download.01.org/0day-ci/archive/20240705/202407051402.LW9VtaLq-lkp@intel.com/config)
compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240705/202407051402.LW9VtaLq-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/202407051402.LW9VtaLq-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/trace/trace.c:7534:37: error: 'last_boot_fops' defined but not used [-Werror=unused-const-variable=]
7534 | static const struct file_operations last_boot_fops = {
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/last_boot_fops +7534 kernel/trace/trace.c
7533
> 7534 static const struct file_operations last_boot_fops = {
7535 .open = tracing_open_generic_tr,
7536 .read = tracing_last_boot_read,
7537 .llseek = generic_file_llseek,
7538 .release = tracing_release_generic_tr,
7539 };
7540
--
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:[~2024-07-05 6:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 6:54 [linux-next:master 5016/10451] kernel/trace/trace.c:7534:37: error: 'last_boot_fops' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox