Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1103691lqt; Sat, 20 Apr 2024 00:29:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZvY9y8+5aN02b08jIy44eXqB3UYMLAqb41TdNaQz4HCzMFWZrHdXVHJFT39yeAZHAGK+VnZh2ZLh6G482XKho4kk4Eu54hA3sPKs0Cg== X-Google-Smtp-Source: AGHT+IE5FhC8NaENtiz7TL4d5IN+dJu4EFUttd3o5kS/FLb+R+CGqMp4ghJc9I2iMB/TbZDoCNJB X-Received: by 2002:a2e:a419:0:b0:2d8:4169:3a58 with SMTP id p25-20020a2ea419000000b002d841693a58mr2660649ljn.41.1713598140762; Sat, 20 Apr 2024 00:29:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713598140; cv=pass; d=google.com; s=arc-20160816; b=YLwXa67ECYEMQzlEEMdjU+NEVSztDuqVEU7Eym3h1nfkwnUSIDTSCyzFNBNjXJMxIf CvS86exbvdckjQGPIWZQtbOMokPA5+HZLovT7vfCUDYmWZjELVj82rgezhF42miyYKxQ mPBizIvFLECAaTDxb+2vZbO+yN4ivNJM+WV13J6BmMDEjVYO4e24YXEEL3CXn4TUQlos wTacZkR+HMlRntF/lREj62Szvvhi5vfJ6qp1+6kC+xMYDzbLPuWZ042R3V5rXxQQdJ2K FhAm0okZbhd65mjCniEpTEcnzYKbnGsz0eMjYg4OOw8OYD/3llO9O/08Vpy/pfHz4COn lPAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UsDLW9GGM7RLCnJlQEMC3yOajEUzDglJZiWkYRWRAls=; fh=+nXLAS4cEoMkFq94Uc7G0AwT8jeFdRVCM0WC4+KdADQ=; b=SyXZXAleAdoQnSo+jSDdvgJrFm1cV8KZe/2CfDfZ9XY06tJCLzWgM8sZURYIvpPT0T r3hWcpR+euANbmsWq9H14K/NOCMoAk9Y7MwKxy2S7/YBHVQ+ipYCK/yZWFBWhjaTZdGw pWG+N+HjnjX/sVbWWR+cDdKVcc9DU9bliey1CBwEtez6f6b1fO1riPJwL2aNAvh8NAB0 +O5tQHNsfaBHo+Z1JiU6zbJYhYZwlm5Ep80KJDBlvWklsTt1cCLiFBUqGWmocOojscgN TwOrzliz+qo3GW+XUvnrWUCnibFuupgYIMm2y8+ZGUril+2YDRq4YWJt7IsMUc3ZoPJs GCVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nfwYvnR4; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-152163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x63-20020a50bac5000000b0056e1dc788b6si3058443ede.94.2024.04.20.00.29.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 00:29:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nfwYvnR4; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-152163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 530D11F21479 for ; Sat, 20 Apr 2024 07:29:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F0FB13AE2; Sat, 20 Apr 2024 07:28:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nfwYvnR4" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCDAD12E7F; Sat, 20 Apr 2024 07:28:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713598133; cv=none; b=OaMhKzewpm/0zeVrTKpZfuL1fUUpbWvZ6g79UmwpikMPaWI3UCdQEgRAJrtwLgAzT9ATmvBAXP87w3156Z9bKjBOd0P6ESEyGv2bYpwhSxR+8qliEwFA8fDsssaPto+pcPBrtj6VQt8hBPEdCCpzkrqRVZdH3Bx1s+Db6vGXk8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713598133; c=relaxed/simple; bh=Ap/Y7FzXBDxHQevt459EIpFLTrhDLkThFu5ixHCXtkQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LVcxhBaLmrWvw4+Ut1ow6AwSBdtADQ1dvdDgDwtDEDOg0MDdGo/FPMtdipJoOK4siZ6KBWIkTS+dp6jakgNfXkE4AmdmoXrvYvnfGeAbk5A4EXwjXraPJbWRsucnILOFpQDHecpvIqz1LNDQmJwZQLNAq/ewXrwDGpKhOKC7AEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=nfwYvnR4; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713598132; x=1745134132; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ap/Y7FzXBDxHQevt459EIpFLTrhDLkThFu5ixHCXtkQ=; b=nfwYvnR4+VzzXpuJ+TVSCiUCvVVAArDjg259KJOdBKW4w89n4cXonlFq JuyZPweJRc6su/bBfPGc9IyMf+0BhWWDOEwxodXJSlJvosb+gPvGI/COC qUPV3hbqiRtkdpEOjz9lzc8tIO4feGEtu09dTgJCdp5wrKyctiS3dOfuJ CaO92klHyefbIoZn8z/T9kDY8iNFo7Ys0ppKEg7NWPMFXZKD5qd2oT5Io 0gZeaTmSG/ZYgMSE0+KZdUXBhMEiComjDKR0nf40xH7R7SKgveeEnwgj+ P//6luLOUfaOr11pNLjd8XbSM+Kb8ghQgq06lfoGhCioD4mqUs8SKj54V g==; X-CSE-ConnectionGUID: MEDgpNSdRCyaa4WvFR5WiQ== X-CSE-MsgGUID: lxqkFcO7RnmcD4QVYn7bHQ== X-IronPort-AV: E=McAfee;i="6600,9927,11049"; a="34603255" X-IronPort-AV: E=Sophos;i="6.07,215,1708416000"; d="scan'208";a="34603255" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2024 00:28:51 -0700 X-CSE-ConnectionGUID: q7yocQK/QY2rb1xW4HE39A== X-CSE-MsgGUID: dg6dhHaOTVqBkitTllpVWg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,215,1708416000"; d="scan'208";a="23412049" Received: from unknown (HELO 23c141fc0fd8) ([10.239.97.151]) by orviesa010.jf.intel.com with ESMTP; 20 Apr 2024 00:28:46 -0700 Received: from kbuild by 23c141fc0fd8 with local (Exim 4.96) (envelope-from ) id 1ry59P-000Apw-1U; Sat, 20 Apr 2024 07:28:43 +0000 Date: Sat, 20 Apr 2024 15:28:11 +0800 From: kernel test robot To: Konstantin Pugin Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Konstantin Pugin , Greg Kroah-Hartman , Jiri Slaby , Max Filippov , Jonathan Corbet , Jacky Huang , Anup Patel , Herve Codina , Manikanta Guntupalli , Conor Dooley , Hugo Villeneuve , Andy Shevchenko , Lech Perczak , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART Message-ID: <202404201559.2eM6MALu-lkp@intel.com> References: <20240419124506.1531035-4-rilian.la.te@ya.ru> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240419124506.1531035-4-rilian.la.te@ya.ru> Hi Konstantin, kernel test robot noticed the following build errors: [auto build test ERROR on c6795fbffc4547b40933ec368200bd4926a41b44] url: https://github.com/intel-lab-lkp/linux/commits/Konstantin-Pugin/serial-sc16is7xx-announce-support-of-SER_RS485_RTS_ON_SEND/20240420-004819 base: c6795fbffc4547b40933ec368200bd4926a41b44 patch link: https://lore.kernel.org/r/20240419124506.1531035-4-rilian.la.te%40ya.ru patch subject: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART config: hexagon-randconfig-001-20240420 (https://download.01.org/0day-ci/archive/20240420/202404201559.2eM6MALu-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 7089c359a3845323f6f30c44a47dd901f2edfe63) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240420/202404201559.2eM6MALu-lkp@intel.com/reproduce) 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202404201559.2eM6MALu-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/tty/serial/sc16is7xx_spi.c:7: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from drivers/tty/serial/sc16is7xx_spi.c:7: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from drivers/tty/serial/sc16is7xx_spi.c:7: In file included from include/linux/regmap.h:20: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ In file included from drivers/tty/serial/sc16is7xx_spi.c:8: In file included from include/linux/spi/spi.h:17: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2208: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/tty/serial/sc16is7xx_spi.c:72:34: error: use of undeclared identifier 'xr20m1172_devtype' 72 | { "xr20m1172", (kernel_ulong_t)&xr20m1172_devtype, }, | ^ 7 warnings and 1 error generated. vim +/xr20m1172_devtype +72 drivers/tty/serial/sc16is7xx_spi.c 63 64 static const struct spi_device_id sc16is7xx_spi_id_table[] = { 65 { "sc16is74x", (kernel_ulong_t)&sc16is74x_devtype, }, 66 { "sc16is740", (kernel_ulong_t)&sc16is74x_devtype, }, 67 { "sc16is741", (kernel_ulong_t)&sc16is74x_devtype, }, 68 { "sc16is750", (kernel_ulong_t)&sc16is750_devtype, }, 69 { "sc16is752", (kernel_ulong_t)&sc16is752_devtype, }, 70 { "sc16is760", (kernel_ulong_t)&sc16is760_devtype, }, 71 { "sc16is762", (kernel_ulong_t)&sc16is762_devtype, }, > 72 { "xr20m1172", (kernel_ulong_t)&xr20m1172_devtype, }, 73 { } 74 }; 75 MODULE_DEVICE_TABLE(spi, sc16is7xx_spi_id_table); 76 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki