* [rt-devel:linux-6.6.y-rt-rebase 132/181] kernel/printk/internal.h:137:17: warning: no previous prototype for 'nbcon_get_default_prio'
@ 2023-11-08 21:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-08 21:47 UTC (permalink / raw)
To: John Ogness; +Cc: oe-kbuild-all, Sebastian Andrzej Siewior
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-6.6.y-rt-rebase
head: bc63ae5633ea188364e3a3a635af73771c70c3c7
commit: f7c3038c2eb4a73c0ca6222d4097c55a999c4f49 [132/181] printk: nbcon: Add unsafe flushing on panic
config: arc-randconfig-002-20231109 (https://download.01.org/0day-ci/archive/20231109/202311090501.wFJrW770-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311090501.wFJrW770-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/202311090501.wFJrW770-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/printk/printk.c:61:
>> kernel/printk/internal.h:137:17: warning: no previous prototype for 'nbcon_get_default_prio' [-Wmissing-prototypes]
137 | enum nbcon_prio nbcon_get_default_prio(void) { return NBCON_PRIO_NONE; }
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/nbcon_get_default_prio +137 kernel/printk/internal.h
130
131 static inline bool printk_percpu_data_ready(void) { return false; }
132 static inline u64 nbcon_seq_read(struct console *con) { return 0; }
133 static inline void nbcon_seq_force(struct console *con, u64 seq) { }
134 static inline bool nbcon_alloc(struct console *con) { return false; }
135 static inline void nbcon_init(struct console *con) { }
136 static inline void nbcon_free(struct console *con) { }
> 137 enum nbcon_prio nbcon_get_default_prio(void) { return NBCON_PRIO_NONE; }
138 static inline void nbcon_atomic_flush_all(void) { }
139 static bool nbcon_atomic_emit_next_record(struct console *con) { return false; }
140
--
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:[~2023-11-08 21:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 21:47 [rt-devel:linux-6.6.y-rt-rebase 132/181] kernel/printk/internal.h:137:17: warning: no previous prototype for 'nbcon_get_default_prio' 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.