From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 B2EA0168 for ; Thu, 6 Jan 2022 06:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641449231; x=1672985231; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TavuDjlr6ehK951KTTK7qs2mHQh60DUn8Pis0q2fbio=; b=D5g6D5RmKzgolTfiQO55iBSOE/MesaBnBfnfeGx2wTp7tQirkaPMko5g i9rxwY/05FNsJlfYl3racdoKwz+wWypA4E0xAIi3YsTb0ASaRwgCyYrJ0 k/m/yBudM3q2reziGS7HMb1NAqCFurUkTpAVqUVaJqoATSuFWtCLHwsPq JL46EOWFfxYXjVVfpipea0KR0430z8aUIBnvtp+5x2CuxB8A4jD9hrutR xNAgoNL6ijuipYuHcjUZvkahBu3gNHfGAOuRRtzldfZtdZwRGzk3en5kh qGhOsHB5+MPQ+XutXtmi34oOGYVrikJvyoCh+Q352yJQtY/CbqEpq4bLi Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="242393976" X-IronPort-AV: E=Sophos;i="5.88,266,1635231600"; d="scan'208";a="242393976" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2022 22:07:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,266,1635231600"; d="scan'208";a="611725351" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jan 2022 22:07:07 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n5LvX-000HOj-7V; Thu, 06 Jan 2022 06:07:07 +0000 Date: Thu, 6 Jan 2022 14:06:31 +0800 From: kernel test robot To: Charan Teja Reddy , hughd@google.com, akpm@linux-foundation.org, willy@infradead.org, vbabka@suse.cz, rientjes@google.com, mhocko@suse.com, surenb@google.com, shakeelb@google.com, linux-mm@kvack.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] mm: shmem: implement POSIX_FADV_[WILL|DONT]NEED for shmem Message-ID: <202201061353.4vrJlOAk-lkp@intel.com> References: <1641395025-7922-1-git-send-email-quic_charante@quicinc.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1641395025-7922-1-git-send-email-quic_charante@quicinc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi Charan, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] url: https://github.com/0day-ci/linux/commits/Charan-Teja-Reddy/mm-shmem-implement-POSIX_FADV_-WILL-DONT-NEED-for-shmem/20220105-230604 base: https://github.com/hnaz/linux-mm master config: hexagon-randconfig-r013-20220105 (https://download.01.org/0day-ci/archive/20220106/202201061353.4vrJlOAk-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d5b6e30ed3acad794dd0aec400e617daffc6cc3d) 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/0day-ci/linux/commit/6bdb2636187d2f6cb78d6cdc05f2b7e0b79c750a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Charan-Teja-Reddy/mm-shmem-implement-POSIX_FADV_-WILL-DONT-NEED-for-shmem/20220105-230604 git checkout 6bdb2636187d2f6cb78d6cdc05f2b7e0b79c750a # save the config file to linux build tree mkdir build_dir 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 as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/shmem.c:4000:13: error: use of undeclared identifier 'shmem_fadvise'; did you mean 'shmem_file'? .fadvise = shmem_fadvise, ^~~~~~~~~~~~~ shmem_file include/linux/shmem_fs.h:118:20: note: 'shmem_file' declared here static inline bool shmem_file(struct file *file) ^ >> mm/shmem.c:4000:13: error: incompatible function pointer types initializing 'int (*)(struct file *, loff_t, loff_t, int)' (aka 'int (*)(struct file *, long long, long long, int)') with an expression of type 'bool (struct file *)' (aka '_Bool (struct file *)') [-Werror,-Wincompatible-function-pointer-types] .fadvise = shmem_fadvise, ^~~~~~~~~~~~~ 2 errors generated. vim +4000 mm/shmem.c 3987 3988 static const struct file_operations shmem_file_operations = { 3989 .mmap = shmem_mmap, 3990 .get_unmapped_area = shmem_get_unmapped_area, 3991 #ifdef CONFIG_TMPFS 3992 .llseek = shmem_file_llseek, 3993 .read_iter = shmem_file_read_iter, 3994 .write_iter = generic_file_write_iter, 3995 .fsync = noop_fsync, 3996 .splice_read = generic_file_splice_read, 3997 .splice_write = iter_file_splice_write, 3998 .fallocate = shmem_fallocate, 3999 #endif > 4000 .fadvise = shmem_fadvise, 4001 }; 4002 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0093884106867628577==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3] mm: shmem: implement POSIX_FADV_[WILL|DONT]NEED for shmem Date: Thu, 06 Jan 2022 14:06:31 +0800 Message-ID: <202201061353.4vrJlOAk-lkp@intel.com> In-Reply-To: <1641395025-7922-1-git-send-email-quic_charante@quicinc.com> List-Id: --===============0093884106867628577== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Charan, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] url: https://github.com/0day-ci/linux/commits/Charan-Teja-Reddy/mm-shmem= -implement-POSIX_FADV_-WILL-DONT-NEED-for-shmem/20220105-230604 base: https://github.com/hnaz/linux-mm master config: hexagon-randconfig-r013-20220105 (https://download.01.org/0day-ci/a= rchive/20220106/202201061353.4vrJlOAk-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d5b6e3= 0ed3acad794dd0aec400e617daffc6cc3d) reproduce (this is a W=3D1 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/0day-ci/linux/commit/6bdb2636187d2f6cb78d6cdc0= 5f2b7e0b79c750a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Charan-Teja-Reddy/mm-shmem-impleme= nt-POSIX_FADV_-WILL-DONT-NEED-for-shmem/20220105-230604 git checkout 6bdb2636187d2f6cb78d6cdc05f2b7e0b79c750a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/shmem.c:4000:13: error: use of undeclared identifier 'shmem_fadvise';= did you mean 'shmem_file'? .fadvise =3D shmem_fadvise, ^~~~~~~~~~~~~ shmem_file include/linux/shmem_fs.h:118:20: note: 'shmem_file' declared here static inline bool shmem_file(struct file *file) ^ >> mm/shmem.c:4000:13: error: incompatible function pointer types initializ= ing 'int (*)(struct file *, loff_t, loff_t, int)' (aka 'int (*)(struct file= *, long long, long long, int)') with an expression of type 'bool (struct f= ile *)' (aka '_Bool (struct file *)') [-Werror,-Wincompatible-function-poin= ter-types] .fadvise =3D shmem_fadvise, ^~~~~~~~~~~~~ 2 errors generated. vim +4000 mm/shmem.c 3987 = 3988 static const struct file_operations shmem_file_operations =3D { 3989 .mmap =3D shmem_mmap, 3990 .get_unmapped_area =3D shmem_get_unmapped_area, 3991 #ifdef CONFIG_TMPFS 3992 .llseek =3D shmem_file_llseek, 3993 .read_iter =3D shmem_file_read_iter, 3994 .write_iter =3D generic_file_write_iter, 3995 .fsync =3D noop_fsync, 3996 .splice_read =3D generic_file_splice_read, 3997 .splice_write =3D iter_file_splice_write, 3998 .fallocate =3D shmem_fallocate, 3999 #endif > 4000 .fadvise =3D shmem_fadvise, 4001 }; 4002 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0093884106867628577==--