From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 299ACC25B08 for ; Sat, 13 Aug 2022 08:42:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3E10C6B0073; Sat, 13 Aug 2022 04:42:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 38FD26B0075; Sat, 13 Aug 2022 04:42:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 27E688E0001; Sat, 13 Aug 2022 04:42:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 199646B0073 for ; Sat, 13 Aug 2022 04:42:20 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id C9C69140A47 for ; Sat, 13 Aug 2022 08:42:19 +0000 (UTC) X-FDA: 79793927598.15.42A2179 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf13.hostedemail.com (Postfix) with ESMTP id 1C08920080 for ; Sat, 13 Aug 2022 08:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660380138; x=1691916138; h=date:from:to:cc:subject:message-id:mime-version; bh=dje4Bwu5WhwsdCPS9deeYtrDdGTX8BgieA63nTu7tK8=; b=fE/EDoC8OR8JkkhbW+HHxntFOXTvGSP7GMNfLVLMQigIkdAE0QM2MSBt whgorH4tybMmzREbCd7ck6f3/WKEIhabnfZymnv7F5+Up8WDyRdy1lnnZ eyVdw4tOv3S07j7pb2skUa3T5t1pv5irgP6/i0KG+gGkuZVjizoPQNFTP kTQ5lHpbNnoHAwF8fo8p6Q9esKd1/dOg73p3Rfg7nFmC1BmTcAIB5pEiW FTnaygIOl5uu/557Vc0Brk16utzkoTY+QId7o2xmQmrqfUjFl8byMwUMX cTepsrhTrpTKRCmTZS+05f5GVRpJZJ16G3e2zWY4UllBJ1rPeFXpfi6Aa w==; X-IronPort-AV: E=McAfee;i="6400,9594,10437"; a="272132468" X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="272132468" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2022 01:42:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="602725412" Received: from lkp-server02.sh.intel.com (HELO 8745164cafc7) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 13 Aug 2022 01:42:13 -0700 Received: from kbuild by 8745164cafc7 with local (Exim 4.96) (envelope-from ) id 1oMmij-0001VH-09; Sat, 13 Aug 2022 08:42:13 +0000 Date: Sat, 13 Aug 2022 16:41:42 +0800 From: kernel test robot To: Kees Cook Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Marco Elver , Andrew Morton , Linux Memory Management List Subject: [stable:linux-5.15.y 5773/9027] :5:8: error: expected relocatable expression Message-ID: <202208131620.5cpNx6DK-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660380139; a=rsa-sha256; cv=none; b=EPBNEnDCqd2Vlu06XER5+PdN/YqVN7SX++/LabN/kRfWTsbVdoJuyGVI/24n5Lze40A+Tc fkacfMud3ff0Ap+oz9ZSijT9cnxj9B0trvONBLrjXDwc3nba+WGW/Sqb5hRAIqVgZTP3Ao LR7Zfj18NDh7/s7jsn/faipc5+q89/Q= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="fE/EDoC8"; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660380139; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=X9qJ6hSTHcYpn3pKIsG3UK3sPtFV2EdQhsZmOGlhjYM=; b=byFFISQVpkewD7zcyxl4QRXBDfJ99RNc3QgKwsajQ5iwxY+o9MSoXif1nFRVhX5stuV5ys z5DV69T4693a1zdcxvVDOQAls6tnmd6jxHZTbAAXGYhn6konu10AaLN6+c93+bStr38Tzg wsN5tUzI6mZzlA/jHir9abOQhLhDlvw= X-Rspamd-Queue-Id: 1C08920080 Authentication-Results: imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="fE/EDoC8"; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam12 X-Stat-Signature: qbq5rqfuesrcc88upm48q8j35ftmn6hu X-HE-Tag: 1660380137-342558 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Kees, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: 7217df81279835a7aee62a07aabb7b8fb8c766f2 commit: 33db9912ff7c491f839c89a08e98f755aa09598f [5773/9027] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE config: s390-randconfig-r031-20220812 (https://download.01.org/0day-ci/archive/20220813/202208131620.5cpNx6DK-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 3329cec2f79185bafd678f310fafadba2a8c76d2) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=33db9912ff7c491f839c89a08e98f755aa09598f git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout 33db9912ff7c491f839c89a08e98f755aa09598f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): ~~~~~~~~~~ ^ include/asm-generic/io.h:634:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesb(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:643:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesw(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:652:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesl(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ lib/raid6/s390vx8.c:73:16: note: while in macro instantiation asm volatile ("VSTM %2,%3,0,1" ^ :1:2: note: instantiated into assembly here VSTM 0,7,0,1 ^ :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ lib/raid6/s390vx8.c:73:16: note: while in macro instantiation asm volatile ("VSTM %2,%3,0,1" ^ :1:2: note: instantiated into assembly here VSTM 8,15,0,1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 0,7,0,%r1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 16,23,0,%r1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 16,23,0,%r1 ^ :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ lib/raid6/s390vx8.c:73:16: note: while in macro instantiation asm volatile ("VSTM %2,%3,0,1" ^ :1:2: note: instantiated into assembly here VSTM 16,23,0,1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 16,23,0,%r1 ^ :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ lib/raid6/s390vx8.c:73:16: note: while in macro instantiation asm volatile ("VSTM %2,%3,0,1" ^ :1:2: note: instantiated into assembly here VSTM 16,23,0,1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 0,7,0,%r1 ^ :3:21: error: too many positional arguments GR_NUM b2, %r1 /* Base register */ ^ lib/raid6/s390vx8.c:63:16: note: while in macro instantiation asm volatile ("VLM %2,%3,0,%1" ^ :1:2: note: instantiated into assembly here VLM 16,23,0,%r1 ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ >> :5:8: error: expected relocatable expression .word (b2 << 12) | (0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 12 warnings and 20 errors generated. -- 0-DAY CI Kernel Test Service https://01.org/lkp