Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1081792rwe; Fri, 26 Aug 2022 23:39:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4asNF4ux6dqwgAn+CF+gnXChervDlW3OM7XLuFzQo+TAFhhBBA0DUQki17L0YfkY7lYs+0 X-Received: by 2002:a17:907:1609:b0:73d:d2c7:8bc8 with SMTP id hb9-20020a170907160900b0073dd2c78bc8mr6348962ejc.417.1661582394853; Fri, 26 Aug 2022 23:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661582394; cv=none; d=google.com; s=arc-20160816; b=IC13U0jwCxjlK45oscAYL+NaQYj0XakSjr93uzO8Et7WSM1owqf2vTlwbcPpfax2bM ECekl4Tw+Xp/QStPS1+0Hx6O8DRIfMLqdRoJgyOLMpT7Li+jRz4LiyYDJCKehcNGbxrH QQ47gGFoPcmcjZ40ESshhBM4j30vCa98IXFXnhTqs72bGSFckQqtTUzTWUbdylbWfVjX 4L2pkSEgONTTKzE9KwEr8kceiWdbOqTotCJUk+x3Tdmst8K3FGaBVUKCg58lYsZO1KJ7 YHHTnFJLNEF6M5lbE7g/yBTmKBIbwMZwPinnJIitbmeYDnF5x2aaXe/WH8N7LBJ9ZCDp f0Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2f1GlDaFY0IGcq94UU3HLYowSHn7RmVab3Qa2Lpc/W8=; b=RYA0G6ht51r9BlgPW/N8zU1S12zz2ROkfuitzl5OeiAufcEqstTrld1QlxuMERcPF3 mylvv29h4oDYa797zJb2YkeupHLaEVkGr1vpHPB3F61E1mlXAPf7L0XgqivqCZoBedPH hba9gU8WaYRGH/65jEaOJRch2Y5Qjrf00wKZ0PD5fT0egeci173x2/X5uVnx5ljl/L/s mCJFU9SIeJDrKjif2bUxiijQbUdyY5I4ddPQXqbgo3aJpVzIStgNT7s1wBl/lHVPX2X+ i8tGNCNn6VBXitmi7CRdmGoaEXzcbJwO0KPN2eV0o8J7W/fIDAnqGzfxvgCPkjdW4eqL 6t2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HehfAL0E; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho7-20020a1709070e8700b0072a477a55e0si3019661ejc.369.2022.08.26.23.39.15; Fri, 26 Aug 2022 23:39:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HehfAL0E; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230143AbiH0Gbq (ORCPT + 99 others); Sat, 27 Aug 2022 02:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbiH0Gbp (ORCPT ); Sat, 27 Aug 2022 02:31:45 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53AACCAC95 for ; Fri, 26 Aug 2022 23:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661581904; x=1693117904; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AHApHPXEU7s+9bfLBV5PgrKBP2tv1XVmisi7/hNIHeo=; b=HehfAL0EZc37f6NjNZoZjziyCX14MUIAxezTBGuOahs4RrpcrhrIWSwY ykl+oggWQU7Cu+KKJG6PX00n/gSmfgNcvYTBu5GTWBJXAvJarh1hdiGWA L+oy+Yn5Y7LlEJ7SjR8WMWYRQdxNPKAUatevYL0tU4kapiG/Q+c9P00RT prDyTf3dg+ti1VkahqjJ7sOMDQVXLzZyt3ngbdGxVYwUag1dOezWq5s5g 4GSMVaAEajLQ/u9I21YGM0/yJyfHtShPWesEJftST+Xiu8r717AqP1dsk RvObpHowaI1gP60ZnlPos9j3r59ihHu3RJ9psSiBpqD1hEKrEz0mLYocw Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10451"; a="380944895" X-IronPort-AV: E=Sophos;i="5.93,267,1654585200"; d="scan'208";a="380944895" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2022 23:31:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,267,1654585200"; d="scan'208";a="610786934" Received: from lkp-server01.sh.intel.com (HELO 71b0d3b5b1bc) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 26 Aug 2022 23:31:40 -0700 Received: from kbuild by 71b0d3b5b1bc with local (Exim 4.96) (envelope-from ) id 1oRpM4-00014P-0D; Sat, 27 Aug 2022 06:31:40 +0000 Date: Sat, 27 Aug 2022 14:31:18 +0800 From: kernel test robot To: Dai Ngo , chuck.lever@oracle.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH 2/2] NFSD: add shrinker to reap courtesy clients on low memory condition Message-ID: <202208271403.SinCnRF0-lkp@intel.com> References: <1661554886-26025-3-git-send-email-dai.ngo@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1661554886-26025-3-git-send-email-dai.ngo@oracle.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Dai, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v6.0-rc2 next-20220826] [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/Dai-Ngo/NFSD-memory-shrinker-for-NFSv4-clients/20220827-070241 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e022620b5d056e822e42eb9bc0f24fcb97389d86 config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220827/202208271403.SinCnRF0-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/8430e1a9491e9b4470a68f989a004b579e37fb73 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dai-Ngo/NFSD-memory-shrinker-for-NFSv4-clients/20220827-070241 git checkout 8430e1a9491e9b4470a68f989a004b579e37fb73 # 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=i386 SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/nfsd/trace.c:4: In file included from fs/nfsd/trace.h:488: In file included from fs/nfsd/state.h:42: >> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 }; ^ ; 1 error generated. -- In file included from fs/nfsd/nfsctl.c:23: >> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 }; ^ ; >> fs/nfsd/nfsctl.c:1511:2: error: implicit declaration of function 'nfsd4_leases_net_shutdown' is invalid in C99 [-Werror,-Wimplicit-function-declaration] nfsd4_leases_net_shutdown(nn); ^ fs/nfsd/nfsctl.c:1511:2: note: did you mean 'nfsd4_leases_shutdown'? fs/nfsd/nfsd.h:514:20: note: 'nfsd4_leases_shutdown' declared here static inline void nfsd4_leases_shutdown(struct nfsd_net *nn) { }; ^ 2 errors generated. -- In file included from fs/nfsd/export.c:21: >> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 }; ^ ; fs/nfsd/export.c:979:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable] struct inode *inode; ^ 1 warning and 1 error generated. -- In file included from fs/nfsd/trace.c:4: In file included from fs/nfsd/trace.h:488: In file included from fs/nfsd/state.h:42: >> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 }; ^ ; In file included from fs/nfsd/trace.c:4: In file included from fs/nfsd/trace.h:1407: include/trace/define_trace.h:95:10: fatal error: './trace.h' file not found #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE' # define TRACE_INCLUDE(system) __TRACE_INCLUDE(system) ^~~~~~~~~~~~~~~~~~~~~~~ include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE' # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/stringify.h:10:27: note: expanded from macro '__stringify' #define __stringify(x...) __stringify_1(x) ^~~~~~~~~~~~~~~~ include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1' #define __stringify_1(x...) #x ^~ :56:1: note: expanded from here "./trace.h" ^~~~~~~~~~~ 2 errors generated. vim +513 fs/nfsd/nfsd.h 512 > 513 static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 }; 514 static inline void nfsd4_leases_shutdown(struct nfsd_net *nn) { }; 515 -- 0-DAY CI Kernel Test Service https://01.org/lkp