Re: [PATCH printk v2 5/8] printk: nbcon: Add sequence handling

From: kernel test robot
Date: Thu Jul 27 2023 - 21:34:33 EST


Hi John,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 132a90d1527fedba2d95085c951ccf00dbbebe41]

url: https://github.com/intel-lab-lkp/linux/commits/John-Ogness/printk-Add-non-BKL-nbcon-console-basic-infrastructure/20230728-080545
base: 132a90d1527fedba2d95085c951ccf00dbbebe41
patch link: https://lore.kernel.org/r/20230728000233.50887-6-john.ogness%40linutronix.de
patch subject: [PATCH printk v2 5/8] printk: nbcon: Add sequence handling
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230728/202307280939.4IPb76dh-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230728/202307280939.4IPb76dh-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307280939.4IPb76dh-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/printk/printk_nbcon.c:168: warning: expecting prototype for nbcon_read_seq(). Prototype was for nbcon_seq_read() instead
kernel/printk/printk_nbcon.c:182: warning: Function parameter or member 'seq' not described in 'nbcon_seq_force'


vim +168 kernel/printk/printk_nbcon.c

160
161 /**
162 * nbcon_read_seq - Read the current console sequence
163 * @con: Console to read the sequence of
164 *
165 * Return: Sequence number of the next record to print on @con.
166 */
167 u64 nbcon_seq_read(struct console *con)
> 168 {
169 unsigned long seq = atomic_long_read(&ACCESS_PRIVATE(con, nbcon_seq));
170
171 return __nbcon_seq_to_full(seq);
172 }
173

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki