All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/tty/serial/samsung_tty.c:2512 samsung_early_busyuart_fifo() warn: this loop depends on readl() succeeding
Date: Fri, 11 Dec 2020 01:15:11 +0800	[thread overview]
Message-ID: <202012110101.SKOJMOCU-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Krzysztof Kozlowski <krzk@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a2f5ea9e314ba6778f885c805c921e9362ec0420
commit: b87671f17c3e94e80b802904d80b6ed213ac70ae tty: serial: samsung: allow driver to be built by anyone
date:   12 months ago
:::::: branch date: 18 hours ago
:::::: commit date: 12 months ago
config: openrisc-randconfig-m031-20201209 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/tty/serial/samsung_tty.c:2512 samsung_early_busyuart_fifo() warn: this loop depends on readl() succeeding

vim +2512 drivers/tty/serial/samsung_tty.c

b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2507  
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2508  static void samsung_early_busyuart_fifo(struct uart_port *port)
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2509  {
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2510  	struct samsung_early_console_data *data = port->private_data;
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2511  
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 @2512  	while (readl(port->membase + S3C2410_UFSTAT) & data->txfull_mask)
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2513  		;
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2514  }
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23  2515  

:::::: The code at line 2512 was first introduced by commit
:::::: b94ba0328d3b36ff95f5074c0e9b44f90dc56bb5 serial: samsung: Add support for early console

:::::: TO: Tomasz Figa <t.figa@samsung.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32422 bytes --]

             reply	other threads:[~2020-12-10 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 17:15 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-19  5:18 drivers/tty/serial/samsung_tty.c:2512 samsung_early_busyuart_fifo() warn: this loop depends on readl() succeeding kernel test robot
2020-09-12 20:28 kernel test robot

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=202012110101.SKOJMOCU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /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.