From: kbuild test robot <lkp@intel.com>
To: Olliver Schinagl <oliver@schinagl.nl>
Cc: kbuild-all@01.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.com>,
Laxman Dewangan <ldewangan@nvidia.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>,
Alexandre Courbot <gnurou@gmail.com>,
"David S . Miller" <davem@davemloft.net>,
dev@linux-sunxi.org, Ed Blake <ed.blake@imgtec.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Alexander Sverdlin <alexander.sverdlin@nokia.com>,
Yegor Yefremov <yegorslists@googlemail.com>,
Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>,
Kefeng Wang <wangkefeng.wang@huawei.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Heiko Stuebner <heiko@sntech.de>,
Jason Uy <jason.uy@broadcom.com>,
Douglas Anderson <dianders@chromium.org>,
Peter Hurley <peter@hurleysoftware.com>,
Tony Lindgren <tony@atomide.com>, Vignesh R <vigneshr@ti.com>,
Thor Thayer <tthayer@opensource.altera.com>,
David Lechner <david@lechnology.com>,
Jan Kiszka <jan.kiszka@siemens.com>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-tegra@vger.kernel.org, sparclinux@vger.kernel.org,
Olliver Schinagl <oliver@schinagl.nl>
Subject: Re: [PATCH] serial: Do not treat the IIR register as a bitfield
Date: Thu, 30 Mar 2017 20:18:00 +0800 [thread overview]
Message-ID: <201703302036.mn7yu2Zn%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170329184431.6226-1-oliver@schinagl.nl>
Hi Olliver,
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on v4.11-rc4 next-20170330]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Olliver-Schinagl/serial-Do-not-treat-the-IIR-register-as-a-bitfield/20170330-165826
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
include/linux/compiler.h:264:8: sparse: attribute 'no_sanitize_address': unknown attribute
drivers/staging/media/lirc/lirc_sir.c:285:44: sparse: undefined identifier 'UART_IIR_ID'
drivers/staging/media/lirc/lirc_sir.c:286:29: sparse: undefined identifier 'UART_IIR_ID'
>> drivers/staging/media/lirc/lirc_sir.c:287:22: sparse: incompatible types for 'case' statement
drivers/staging/media/lirc/lirc_sir.c:290:22: sparse: incompatible types for 'case' statement
drivers/staging/media/lirc/lirc_sir.c:293:22: sparse: incompatible types for 'case' statement
drivers/staging/media/lirc/lirc_sir.c:299:22: sparse: incompatible types for 'case' statement
drivers/staging/media/lirc/lirc_sir.c: In function 'sir_interrupt':
drivers/staging/media/lirc/lirc_sir.c:285:37: error: 'UART_IIR_ID' undeclared (first use in this function)
while ((iir = inb(io + UART_IIR) & UART_IIR_ID)) {
^~~~~~~~~~~
drivers/staging/media/lirc/lirc_sir.c:285:37: note: each undeclared identifier is reported only once for each function it appears in
vim +/case +287 drivers/staging/media/lirc/lirc_sir.c
34668350 drivers/staging/media/lirc/lirc_sir.c Ksenija Stanojevic 2015-05-22 279 ktime_t curr_time;
34668350 drivers/staging/media/lirc/lirc_sir.c Ksenija Stanojevic 2015-05-22 280 static unsigned long delt;
34668350 drivers/staging/media/lirc/lirc_sir.c Ksenija Stanojevic 2015-05-22 281 unsigned long deltintr;
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 282 unsigned long flags;
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 283 int iir, lsr;
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 284
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 @285 while ((iir = inb(io + UART_IIR) & UART_IIR_ID)) {
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 286 switch (iir&UART_IIR_ID) { /* FIXME toto treba preriedit */
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 @287 case UART_IIR_MSI:
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 288 (void) inb(io + UART_MSR);
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 289 break;
404f3e95 drivers/staging/lirc/lirc_sir.c Jarod Wilson 2010-07-26 290 case UART_IIR_RLSI:
:::::: The code at line 287 was first introduced by commit
:::::: 404f3e956bc7ab03ac604fabf136e69607315f60 V4L/DVB: staging/lirc: add lirc_sir driver
:::::: TO: Jarod Wilson <jarod@redhat.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
prev parent reply other threads:[~2017-03-30 12:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 18:44 Olliver Schinagl
2017-03-30 6:15 ` Vignesh R
2017-03-30 6:43 ` Olliver Schinagl
2017-03-30 7:57 ` Vignesh R
2017-03-30 15:39 ` Olliver Schinagl
2017-03-30 14:11 ` Theodore Ts'o
2017-03-31 11:28 ` Olliver Schinagl
2017-03-30 9:56 ` Andy Shevchenko
2017-03-31 13:54 ` Olliver Schinagl
2017-03-31 14:44 ` Andy Shevchenko
2017-03-30 10:06 ` kbuild test robot
2017-03-30 10:22 ` kbuild test robot
2017-03-30 10:32 ` Andy Shevchenko
2017-03-30 11:27 ` [kbuild-all] " Fengguang Wu
2017-03-30 12:18 ` kbuild test robot [this message]
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=201703302036.mn7yu2Zn%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alexander.sverdlin@nokia.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=davem@davemloft.net \
--cc=david@lechnology.com \
--cc=dev@linux-sunxi.org \
--cc=dianders@chromium.org \
--cc=ed.blake@imgtec.com \
--cc=gnurou@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=heiko@sntech.de \
--cc=jan.kiszka@siemens.com \
--cc=jason.uy@broadcom.com \
--cc=jslaby@suse.com \
--cc=kbuild-all@01.org \
--cc=ldewangan@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=oliver@schinagl.nl \
--cc=peter@hurleysoftware.com \
--cc=sparclinux@vger.kernel.org \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.com \
--cc=tony@atomide.com \
--cc=tthayer@opensource.altera.com \
--cc=vigneshr@ti.com \
--cc=wan.ahmad.zainie.wan.mohamad@intel.com \
--cc=wangkefeng.wang@huawei.com \
--cc=yegorslists@googlemail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®