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 6AB50C76196 for ; Mon, 3 Apr 2023 22:03:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 140D8280001; Mon, 3 Apr 2023 18:03:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0CD47900002; Mon, 3 Apr 2023 18:03:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E5DA2280001; Mon, 3 Apr 2023 18:03:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id CB76B900002 for ; Mon, 3 Apr 2023 18:03:50 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id A6BF7C0B4E for ; Mon, 3 Apr 2023 22:03:50 +0000 (UTC) X-FDA: 80641457820.11.1415E75 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf17.hostedemail.com (Postfix) with ESMTP id 2F20240017 for ; Mon, 3 Apr 2023 22:03:47 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LxssUNt4; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 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=1680559428; 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:in-reply-to:references:references:dkim-signature; bh=svLAkLheQ3Lex4uxLQC+EFObAXf1OMGnHwU8qENqX5Q=; b=BWNYPoSO6Am9Qn1kFAzpBC84jbWIbVExMdXMX/rqI1Zj6eOvH/WzRZaaj9jZiv4BhbsYuL NA+5g4YKC9hKnCx20m3k9/hTgW3bIezNIACWk4iUBAs/b3mhNsdiU0GZJB++xmwzoV5Z3S PydFnSaRdVyKBNvzXfeYeJOfgakWnOI= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LxssUNt4; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 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=1680559428; a=rsa-sha256; cv=none; b=ERl+9Fr0qVl3QRihRCvyRZxVmLxucr4L0WhY8n1DsSnzG0tL86qRqlNHiM3EVUxqCkBqC6 7dEZt+cGuoT8SCA46Ha2jT5ygugB/k39PR3nnfGYR8KDzSR547Hgn5+mhPbYZrWgGd3+PG v2RsDql2l0qsfHMAF0YJkzGVhV+E9zU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680559428; x=1712095428; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aE4erBFDQ9k50cdEZopS3gU8PItFGlNZIOx7Pl8Nlzw=; b=LxssUNt4M+E18qj3Mzo0mFL7cQdczOgROcL8B7oK8vjzKP69ErY3nb0C etgs00HyNPYdaqwkIzjJJC3sWXdklxX3clD9neZdxhxU3r8Pa314w8u5f us+qne1U+2KFHjzlo6zPgTS1Tn3MDSuE+PvQoJu0kqxId1dpcaBeRwT6W OLxXBTl04Vk5Gz1nCF3Ie3oYhFHsfzglS6asYTdVsDyQTHmyRpkU1xoMA QIbYfXS7DkLnJqGwSH+7TomEkTzKi+O26w12T0Q3yZb/okf+Ryn4l7Gg6 guimtuKnyMjUER5dAY/oxSEoy16ksTbn0TxAsjQVKbNxgGZmBAO9Bc0Cq Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10669"; a="342051930" X-IronPort-AV: E=Sophos;i="5.98,315,1673942400"; d="scan'208";a="342051930" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2023 15:03:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10669"; a="718696058" X-IronPort-AV: E=Sophos;i="5.98,315,1673942400"; d="scan'208";a="718696058" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 03 Apr 2023 15:03:43 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pjSH8-000Oru-34; Mon, 03 Apr 2023 22:03:42 +0000 Date: Tue, 4 Apr 2023 06:03:13 +0800 From: kernel test robot To: cem@kernel.org, hughd@google.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, jack@suse.cz, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, djwong@kernel.org Subject: Re: [PATCH 5/6] shmem: quota support Message-ID: <202304040523.Z5vLqfkr-lkp@intel.com> References: <20230403084759.884681-6-cem@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403084759.884681-6-cem@kernel.org> X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 2F20240017 X-Stat-Signature: po3qcadctdaioq45bn841ztb5wm74qj5 X-HE-Tag: 1680559427-496055 X-HE-Meta: U2FsdGVkX1+R9AD7HrD07TNkBwezNTQw2METc3oHuykby+x0A38pFpXFk8/a+U24LVm+I63XPJ/jmoP6QpBgEjxot3x8eQxqmvY6OjYhCFl8sbkQ6EexS6VAibqTaJQq5AIQNMbeRRfZF4LVOu+At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oBNDlDfPkNhOlO1waZ5zpBaw7Hnozl1ChLfQ57DQVsVhtsaKIQM1ECz0vNvmFoOocBeRtEkDWPKM66AgEZyQBkfaCkkXBe7xieopttFuHggclSz3pTri6qCIQ4yBDx8rr1+s4N6I4GMlRfW3aNmMCoGeoS1WpcqJyEARUrAuFa/MlvCGyS8CxX7rW10zG3xIyOsinAbWDAW3oGxcff9IpAk 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, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.3-rc5] [cannot apply to akpm-mm/mm-everything next-20230403] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/cem-kernel-org/shmem-make-shmem_inode_acct_block-return-error/20230403-165022 patch link: https://lore.kernel.org/r/20230403084759.884681-6-cem%40kernel.org patch subject: [PATCH 5/6] shmem: quota support config: hexagon-randconfig-r045-20230403 (https://download.01.org/0day-ci/archive/20230404/202304040523.Z5vLqfkr-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # https://github.com/intel-lab-lkp/linux/commit/e060b9e86fd92d5e87f5b0c447e4bc610a3d3bbe git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review cem-kernel-org/shmem-make-shmem_inode_acct_block-return-error/20230403-165022 git checkout e060b9e86fd92d5e87f5b0c447e4bc610a3d3bbe # 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=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon 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/202304040523.Z5vLqfkr-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from mm/shmem.c:29: In file included from include/linux/pagemap.h:11: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 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] 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' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from mm/shmem.c:29: In file included from include/linux/pagemap.h:11: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 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' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from mm/shmem.c:29: In file included from include/linux/pagemap.h:11: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __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] __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] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> mm/shmem.c:4252:1: warning: unused label 'out3' [-Wunused-label] out3: ^~~~~ mm/shmem.c:1534:20: warning: unused function 'shmem_show_mpol' [-Wunused-function] static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) ^ 8 warnings generated. vim +/out3 +4252 mm/shmem.c 4224 4225 error = register_filesystem(&shmem_fs_type); 4226 if (error) { 4227 pr_err("Could not register tmpfs\n"); 4228 goto out2; 4229 } 4230 4231 shm_mnt = kern_mount(&shmem_fs_type); 4232 if (IS_ERR(shm_mnt)) { 4233 error = PTR_ERR(shm_mnt); 4234 pr_err("Could not kern_mount tmpfs\n"); 4235 goto out1; 4236 } 4237 4238 #ifdef CONFIG_TRANSPARENT_HUGEPAGE 4239 if (has_transparent_hugepage() && shmem_huge > SHMEM_HUGE_DENY) 4240 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; 4241 else 4242 shmem_huge = SHMEM_HUGE_NEVER; /* just in case it was patched */ 4243 #endif 4244 return; 4245 4246 out1: 4247 unregister_filesystem(&shmem_fs_type); 4248 out2: 4249 #ifdef CONFIG_TMPFS_QUOTA 4250 unregister_quota_format(&shmem_quota_format); 4251 #endif > 4252 out3: 4253 shmem_destroy_inodecache(); 4254 shm_mnt = ERR_PTR(error); 4255 } 4256 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests