From: kernel test robot <lkp@intel.com>
To: John Ogness <john.ogness@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [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'
Date: Thu, 9 Nov 2023 05:47:59 +0800 [thread overview]
Message-ID: <202311090501.wFJrW770-lkp@intel.com> (raw)
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
reply other threads:[~2023-11-08 21:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202311090501.wFJrW770-lkp@intel.com \
--to=lkp@intel.com \
--cc=bigeasy@linutronix.de \
--cc=john.ogness@linutronix.de \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.