All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Fri, 10 Jul 2026 13:04:50 +0800	[thread overview]
Message-ID: <202607101238.CUhuF09M-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-07-10  5:05 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=202607101238.CUhuF09M-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bigeasy@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.