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 CD9A9C433EF for ; Thu, 6 Jan 2022 06:07:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BD3036B0071; Thu, 6 Jan 2022 01:07:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B82D36B0072; Thu, 6 Jan 2022 01:07:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A71A36B0073; Thu, 6 Jan 2022 01:07:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id 940B76B0071 for ; Thu, 6 Jan 2022 01:07:14 -0500 (EST) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 40F80181F24DB for ; Thu, 6 Jan 2022 06:07:14 +0000 (UTC) X-FDA: 78998829588.21.9BE46F6 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by imf03.hostedemail.com (Postfix) with ESMTP id E15002000E for ; Thu, 6 Jan 2022 06:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641449233; x=1672985233; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TavuDjlr6ehK951KTTK7qs2mHQh60DUn8Pis0q2fbio=; b=NRsTEcn5gdd8LBleJvnFPOxeJp8ydBOBsQHyng+GGhZ/NCNBbWTivXY0 FoeLw5PtYuQgwHC2Vcp/mtrAOxdmlpvBx6rRAum74o6wKwGAlN1dWw1Uc P6ur1GCv0menqRLmi+fdQwvtHYwxp+ophrhJoZRCqzg5JCBXcCAT6N9Tl S31ihDYQbkY5PZHvxQziTDC5H18cjdOLW80moQ+oZRugEIiw4UkKmznG6 bh4wcIAXBJtjD17xkYRhels+Ys2ql+PfhwE+Tznz2Lur+thNhXPTRLVu2 GGi8Znfe8trLMAQnhJpbsj5fD3ugNINo7/A4WJmeBV8TNty8JhljvGt2c w==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="303348069" X-IronPort-AV: E=Sophos;i="5.88,266,1635231600"; d="scan'208";a="303348069" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.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> 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) X-Rspamd-Queue-Id: E15002000E X-Stat-Signature: ycdmrjiwn8r7ifuy53osqkwg6djpxa6r Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=NRsTEcn5; spf=none (imf03.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam10 X-HE-Tag: 1641449232-695319 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000082, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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