Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933941AbdC3MTC (ORCPT ); Thu, 30 Mar 2017 08:19:02 -0400 Received: from mga11.intel.com ([192.55.52.93]:13552 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933144AbdC3MS6 (ORCPT ); Thu, 30 Mar 2017 08:18:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,246,1486454400"; d="scan'208";a="1128885359" Date: Thu, 30 Mar 2017 20:18:00 +0800 From: kbuild test robot To: Olliver Schinagl Cc: kbuild-all@01.org, Greg Kroah-Hartman , Jiri Slaby , Laxman Dewangan , Stephen Warren , Thierry Reding , Alexandre Courbot , "David S . Miller" , dev@linux-sunxi.org, Ed Blake , Andy Shevchenko , Alexander Sverdlin , Yegor Yefremov , Wan Ahmad Zainie , Kefeng Wang , Heikki Krogerus , Heiko Stuebner , Jason Uy , Douglas Anderson , Peter Hurley , Tony Lindgren , Vignesh R , Thor Thayer , David Lechner , Jan Kiszka , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, sparclinux@vger.kernel.org, Olliver Schinagl Subject: Re: [PATCH] serial: Do not treat the IIR register as a bitfield Message-ID: <201703302036.mn7yu2Zn%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170329184431.6226-1-oliver@schinagl.nl> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3455 Lines: 53 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 :::::: CC: Mauro Carvalho Chehab --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation