* [rt-devel:linux-7.2.y-rt-rebase 1/17] drivers/tty/serial/8250/8250_port.c:3257 serial8250_fifo_wait_for_lsr_thre() warn: inconsistent indenting
@ 2026-07-10 5:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-10 5:04 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-7.2.y-rt-rebase
head: 8539be5dc459ac9989806747ef44b2566c2a7981
commit: 03dd6d771fb6be5f870d15b77b9e049407eb3901 [1/17] Reapply "serial: 8250: Switch to nbcon console"
config: nios2-randconfig-r071-20260710 (https://download.01.org/0day-ci/archive/20260710/202607101238.CUhuF09M-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0
smatch: v0.5.0-9185-gbcc58b9c
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/202607101238.CUhuF09M-lkp@intel.com/
smatch warnings:
drivers/tty/serial/8250/8250_port.c:3257 serial8250_fifo_wait_for_lsr_thre() warn: inconsistent indenting
vim +3257 drivers/tty/serial/8250/8250_port.c
b6830f6df8914f Peter Hurley 2015-06-27 3240
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3241 void serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port *up,
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3242 struct nbcon_write_context *wctxt,
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3243 unsigned int count)
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3244 {
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3245 unsigned int i;
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3246
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3247 for (i = 0; i < count; i++) {
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3248 /*
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3249 * Pass the ownership as quickly as possible to a higher
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3250 * priority context. Otherwise, its attempt to take over
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3251 * the ownership might timeout. The new owner will wait
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3252 * for UART_LSR_THRE before reusing the fifo.
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3253 */
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3254 if (wctxt && !nbcon_can_proceed(wctxt))
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3255 return;
03dd6d771fb6be Sebastian Andrzej Siewior 2025-02-04 3256
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 @3257 if (wait_for_lsr(up, UART_LSR_THRE))
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3258 return;
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3259 }
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3260 }
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3261 EXPORT_SYMBOL_NS_GPL(serial8250_fifo_wait_for_lsr_thre, "SERIAL_8250");
a7b9ce39fbe4ae Ilpo Järvinen 2026-02-03 3262
:::::: The code at line 3257 was first introduced by commit
:::::: a7b9ce39fbe4ae2919fe4f7ac16c293cb6632d30 serial: 8250_dw: Ensure BUSY is deasserted
:::::: TO: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
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:[~2026-07-10 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 5:04 [rt-devel:linux-7.2.y-rt-rebase 1/17] drivers/tty/serial/8250/8250_port.c:3257 serial8250_fifo_wait_for_lsr_thre() warn: inconsistent indenting 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.