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 5D9A3C77B72 for ; Mon, 17 Apr 2023 12:55:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ACD658E0002; Mon, 17 Apr 2023 08:55:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A7DB78E0001; Mon, 17 Apr 2023 08:55:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 945DF8E0002; Mon, 17 Apr 2023 08:55:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 84B918E0001 for ; Mon, 17 Apr 2023 08:55:53 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 44FD24045D for ; Mon, 17 Apr 2023 12:55:53 +0000 (UTC) X-FDA: 80690880186.18.D72132E Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf28.hostedemail.com (Postfix) with ESMTP id A715CC001B for ; Mon, 17 Apr 2023 12:55:49 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=dICXfL2h; spf=pass (imf28.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=1681736151; 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=mtjrNG6OGjXydPazyLLX0NAXtLrTxaY9Dv0tqxIvyzI=; b=rJYSoOPl5WM5nsdj/x/Mxqx69azOiikyIcxwAgqBOsUkGnZsrv16jClqtHX++VBwFAxLdS 4OMZTJjnIwADdsX1bBt1hdfdeRajq8fZljGp8zXLIDTunU1JPihSh0aGMGDbi35ec93jAz rr9cmNIv7kd+YZOmgXjpQ48c0yAJ9Fs= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=dICXfL2h; spf=pass (imf28.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=1681736151; a=rsa-sha256; cv=none; b=8JxlX7eDTIj+1hOohRQcj75hS577xv35IK2F2tHnDmTkUKpvmFMB02arjSpbnbizcWKiQP MEHV50dydsvPFOpL2Rw8nweTEaSVI3CsfCY7hhNphiu5+Gjb3CuTCLWz/wDc/BxCsf3OR8 f/cQQekNYA+JFN8fe4o1ooa1OiHTkyY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681736149; x=1713272149; h=date:from:to:cc:subject:message-id:mime-version; bh=pF9+Kl94+oacWUwoi0WXMK5+1XOyWxgP+MFF3wxoelQ=; b=dICXfL2hb2ZKBSoa9flv7NvM0BiUBy+b2Z09eEX51R/7Qxjrt1Yof1/2 41LnPHmpzsxOIhQhr5wsIlS8cQiHNcWV56bY5h8N/6NVxQNfCTRPD1awZ qYkNpUUVp4PD5K3e041LVVepKtyNKS+nRfEhGLu6phEkmIv1snCi9ZyrA IeFM73Pr9Fji03x4/ZDs6HSxIkQxUOTBc6g6gftNQk/h7D+MNfSUTuWJR 7zqvPVafgVhG8LdGBHtDsQGPzSUYw8QWQb/RaR0p6rC2UlKHZCtma1EM0 RL0ZuC0Mpie5La7zq2sUsaHVI6XqvgfgSefDVc7PAmd3wZA82lTRa/YvH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="407777285" X-IronPort-AV: E=Sophos;i="5.99,204,1677571200"; d="scan'208";a="407777285" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2023 05:55:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="690657893" X-IronPort-AV: E=Sophos;i="5.99,204,1677571200"; d="scan'208";a="690657893" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 17 Apr 2023 05:55:45 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1poOOW-000cMl-1P; Mon, 17 Apr 2023 12:55:44 +0000 Date: Mon, 17 Apr 2023 20:55:17 +0800 From: kernel test robot To: Mark Rutland Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Will Deacon , Ryan Roberts Subject: [linux-next:master 10286/12016] arch/arm64/mm/fixmap.c:199:10: warning: variable 'bm_pudp' set but not used Message-ID: <202304172004.r3IPh5Ja-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: A715CC001B X-Stat-Signature: tehtko9e35arh8dgz8ugh3se4r3wncez X-Rspam-User: X-HE-Tag: 1681736149-456114 X-HE-Meta: U2FsdGVkX1/4tPddx3tB/sdKuQ4mfh7o94qLSypPvj/RqL/WrcgAyYwDlApmK51koNfM46JOXJKWvcJ3nDs6FVBgsjT4IWQAgZIvvKG5H9bLqX3eA6WEMO6J4LE5Zxj6VCIP9jkQmnCkUSXhf95yOSZBWz6aDLKlQcPxnH9pYcuLoyXS6dyKsT+0n1mbtr/Ww2u98nvXIyEvLQSYX6zYaXajA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CasDlUil8Cqchd6v97RNVp3Js5pKlosTdPG8iECJSLXtNY3YhCoo2Wy0bwWC6db8AQYGJKgnpThgH8TNpdWY9WShkevWOuAI26GiSSBZ4lNV27lDgCZKSs9KIdoLisC/u8Wb4DkVYUY7KWKm7UA/Hxi/vVMQxsXdLoM+jymaPahhA7eoSCcL59DAwLLRofz/xnca98bg2MhPtZYk0= 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 Mark, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d3f2cd24819158bb70701c3549e586f9df9cee67 commit: b97547761b02cc95e0e6be827dc9ca9da8142761 [10286/12016] arm64: mm: move fixmap code to its own file config: arm64-buildonly-randconfig-r004-20230416 (https://download.01.org/0day-ci/archive/20230417/202304172004.r3IPh5Ja-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 9638da200e00bd069e6dd63604e14cbafede9324) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b97547761b02cc95e0e6be827dc9ca9da8142761 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout b97547761b02cc95e0e6be827dc9ca9da8142761 # 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=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/mm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304172004.r3IPh5Ja-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/arm64/mm/fixmap.c:199:10: warning: variable 'bm_pudp' set but not used [-Wunused-but-set-variable] pud_t *bm_pudp; ^ 1 warning generated. vim +/bm_pudp +199 arch/arm64/mm/fixmap.c 182 183 /* 184 * Copy the fixmap region into a new pgdir. 185 */ 186 void __init fixmap_copy(pgd_t *pgdir) 187 { 188 if (!READ_ONCE(pgd_val(*pgd_offset_pgd(pgdir, FIXADDR_TOT_START)))) { 189 /* 190 * The fixmap falls in a separate pgd to the kernel, and doesn't 191 * live in the carveout for the swapper_pg_dir. We can simply 192 * re-use the existing dir for the fixmap. 193 */ 194 set_pgd(pgd_offset_pgd(pgdir, FIXADDR_TOT_START), 195 READ_ONCE(*pgd_offset_k(FIXADDR_TOT_START))); 196 } else if (CONFIG_PGTABLE_LEVELS > 3) { 197 pgd_t *bm_pgdp; 198 p4d_t *bm_p4dp; > 199 pud_t *bm_pudp; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests