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 98445C677F1 for ; Thu, 23 Feb 2023 19:43:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3828F6B007B; Thu, 23 Feb 2023 14:43:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 334106B007D; Thu, 23 Feb 2023 14:43:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 185F46B007E; Thu, 23 Feb 2023 14:43:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 03C3F6B007B for ; Thu, 23 Feb 2023 14:43:27 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id C7AD580299 for ; Thu, 23 Feb 2023 19:43:26 +0000 (UTC) X-FDA: 80499580812.16.C960D07 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf22.hostedemail.com (Postfix) with ESMTP id 6EF53C000E for ; Thu, 23 Feb 2023 19:43:23 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="gQ9xmDa/"; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 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=1677181404; 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=aSDQKSmARVEgcHgJN8DqKRnUnaXypPRpqYt9KhcmvXQ=; b=ZjNd/8fp4178I0GvkFTAYUasESwBhH17ELTlPrtd+X43YtiRSOHoUw49AKlkWlJFecjgkS dnlbTKjoSU3z/df/U50EuPyh8Srk5xXHNT/U9TLdLR3zuXcapyd4tVwV6jmes4xNXPD3vg 01abk+MJrzxGsXDw66JQW75sOtgVGNo= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="gQ9xmDa/"; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677181404; a=rsa-sha256; cv=none; b=mKA3zQYy4ehxEfYazyOiOIVkV6SxqKSOcp1JKNbdSsUFTGICYz/UP9TFxdttXghNXgCtwa 5AZR0uIFLUZwx0zcsBnkcrNjxkZnjkxY4rNZC7xYE1v4Wbx6w+Ji2AYfznbhJA0bHe7kf5 syO10iEv7XcLFPaX8upxF3KK51MFaXo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677181403; x=1708717403; h=date:from:to:cc:subject:message-id:mime-version; bh=dCd8Cz3MvNSwf9UrnwZkbIN6V1919aJ3bnnzKHQAf/0=; b=gQ9xmDa/Cw6HoPwSA/BC5Pj4wAc9NQrUjoHr53AzQPEguwlYZonlYNvU ToClZdsm3DfAcU+N4RVg6iaLe1N5JpWDei9qBK5Q9h6311tl4RgRLmREw frgJw8OetV2oHA7Fuv/cAwkhzrjGOaNa6+5zWaaq+ELs8t7t+si4NqF1k +wb90fhdAdGzTKs5h/TW+SsgVISzViXiVWWd1DBhK5xEK0/PumOfzaHqF IP7bRXELif8Hd12EEe80lqJDPSoY0fPMz4DLUEEjtxXH4bXOFQ7jK16kb TAepNBvyYzTuUFm8xf5kXtaJtQ1oyixIhY4t5aYsNPbcc0QWEv3KYugoi Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="395811925" X-IronPort-AV: E=Sophos;i="5.97,322,1669104000"; d="scan'208";a="395811925" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2023 11:43:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="796454850" X-IronPort-AV: E=Sophos;i="5.97,322,1669104000"; d="scan'208";a="796454850" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 23 Feb 2023 11:43:17 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pVHUq-0001gT-1I; Thu, 23 Feb 2023 19:43:16 +0000 Date: Fri, 24 Feb 2023 03:43:06 +0800 From: kernel test robot To: Kees Cook Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Greg Kroah-Hartman , Marco Elver , Andrew Morton , Linux Memory Management List Subject: [stable:linux-5.15.y 1485/9999] :5:8: error: expected relocatable expression Message-ID: <202302240321.cPoxUIMw-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 6EF53C000E X-Stat-Signature: hknhop48cjeyhduh7a11w3axyoi9dbkc X-HE-Tag: 1677181403-22475 X-HE-Meta: U2FsdGVkX1/MaSOwNGbB/GS6acJH3p1DTye0FSMIW9rbtHbhCxIE73ZQa3xyoX4KkzMJEfP/XwQkB2bSDckqxg6Q5qe+jiXfT+G4q5yeAJ4RZ0i27iyJX9DFpZuUTs2fk7/Fc0dxX6vG9amMmV/nQOyUUYwQVF5wuUL8ht8bgFJAQrmZhEn48u72x4SsIIQBPRTWqQn11/EN1Yj/4qKw8ui82k/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zjKnYEXj+mvzpbVmPJQ6mOEl1nk/iaeT5vnP4I8MW4k5X6dL7YSjunKZ6hulc1LEl5599JC8gIAigth X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, 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: 60b502b3ffea07de3d741d79a22da1092b7a8657 commit: 33db9912ff7c491f839c89a08e98f755aa09598f [1485/9999] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE config: s390-randconfig-r013-20230222 (https://download.01.org/0day-ci/archive/20230224/202302240321.cPoxUIMw-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f) 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 olddefconfig 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 | Link: https://lore.kernel.org/oe-kbuild-all/202302240321.cPoxUIMw-lkp@intel.com/ 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://github.com/intel/lkp-tests