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: Sun, 13 Sep 2020 04:28:50 +0800 [thread overview]
Message-ID: <202009130446.FJj5exPk%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2516 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: 729e3d091984487f7aa1ebfabfe594e5b317ed0f
commit: b87671f17c3e94e80b802904d80b6ed213ac70ae tty: serial: samsung: allow driver to be built by anyone
date: 9 months ago
:::::: branch date: 24 hours ago
:::::: commit date: 9 months ago
config: i386-randconfig-m021-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b87671f17c3e94e80b802904d80b6ed213ac70ae
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b87671f17c3e94e80b802904d80b6ed213ac70ae
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: 38134 bytes --]
next reply other threads:[~2020-09-12 20:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-12 20:28 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-12-10 17:15 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=202009130446.FJj5exPk%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.