* [paulmckrcu:dev.2025.01.30a 71/73] include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used
@ 2025-02-06 7:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-06 7:54 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: oe-kbuild-all
tree: https://github.com/paulmckrcu/linux dev.2025.01.30a
head: a87cfdd8dfd5499a8b2e29a40ce4ad6ffca6eb56
commit: 1edbc527e3d6610b4781edba8e927ebca102eaf6 [71/73] fixup! printk: Flush console log from kernel_power_off()
config: xtensa-randconfig-002-20250206 (https://download.01.org/0day-ci/archive/20250206/202502061518.dcr0Ff3b-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250206/202502061518.dcr0Ff3b-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/202502061518.dcr0Ff3b-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:22,
from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/page-flags.h:10,
from kernel/bounds.c:10:
>> include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used [-Wunused-function]
319 | static bool pr_flush(int timeout_ms, bool reset_on_progress)
| ^~~~~~~~
--
drivers/clk/clkdev.c: In function 'vclkdev_alloc':
drivers/clk/clkdev.c:185:17: warning: function 'vclkdev_alloc' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
185 | res = vsnprintf(cla->dev_id, sizeof(cla->dev_id), dev_fmt, ap);
| ^~~
In file included from include/asm-generic/bug.h:22,
from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/preempt.h:5,
from ./arch/xtensa/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:79,
from include/linux/spinlock.h:56,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/umh.h:4,
from include/linux/kmod.h:9,
from include/linux/module.h:17,
from drivers/clk/clkdev.c:9:
include/linux/printk.h: At top level:
>> include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used [-Wunused-function]
319 | static bool pr_flush(int timeout_ms, bool reset_on_progress)
| ^~~~~~~~
--
In file included from include/asm-generic/bug.h:22,
from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/page-flags.h:10,
from kernel/bounds.c:10:
>> include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used [-Wunused-function]
319 | static bool pr_flush(int timeout_ms, bool reset_on_progress)
| ^~~~~~~~
In file included from include/asm-generic/bug.h:22,
from ./arch/xtensa/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from arch/xtensa/kernel/asm-offsets.c:20:
>> include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used [-Wunused-function]
319 | static bool pr_flush(int timeout_ms, bool reset_on_progress)
| ^~~~~~~~
vim +/pr_flush +319 include/linux/printk.h
318
> 319 static bool pr_flush(int timeout_ms, bool reset_on_progress)
320 {
321 return true;
322 }
323
--
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:[~2025-02-06 7:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06 7:54 [paulmckrcu:dev.2025.01.30a 71/73] include/linux/printk.h:319:13: warning: 'pr_flush' defined but not used 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.