From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp06-ext.udag.de (smtp06-ext.udag.de [62.146.106.76]) (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 7AE542556E; Sat, 16 May 2026 06:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.146.106.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778914529; cv=none; b=e6yq5mevgNlaB453HvG0qyZ1IQPwWo4ulBrRHDcdv0kiuuQfg1fhEEeWuqqvStgS9/xtzAc1tSq+qf4cr7kHhT+CHAZ2eGNf9nrupaJPZnr5vDee/39PkSCrBkYR0mrwW/ll+hSE0SkBM9GCkRsky9WWoo1qoYZXgshRMLZsbKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778914529; c=relaxed/simple; bh=z8/9X7Bvm3CIChoyhozd5xpK/hWysmqIPSywUfmGpMU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GmoBgh84CXrmgVXvzI33Y9Ru9gheC2aPxBQUf/IEEUD5lsxJoaevoSg9Amr8seJJV6NvYpDSS7PgaHpcwxH/lRV8IZWDmkLQFvZ8SDku5Rzvg2QfV8N9wEIZ4tR0tlMSGTlw3c7HOjJGjWqYLrquaymufjkNqL/QZJyN61zsB5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=birthelmer.de; spf=pass smtp.mailfrom=birthelmer.de; arc=none smtp.client-ip=62.146.106.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=birthelmer.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=birthelmer.de Received: from localhost (075-132-067-156.ip-addr.inexio.net [156.67.132.75]) by smtp06-ext.udag.de (Postfix) with ESMTPA id 9722CE0276; Sat, 16 May 2026 08:55:17 +0200 (CEST) Authentication-Results: smtp06-ext.udag.de; auth=pass smtp.auth=birthelmercom-0001 smtp.mailfrom=horst@birthelmer.de Date: Sat, 16 May 2026 08:55:16 +0200 From: Horst Birthelmer To: kernel test robot Cc: Horst Birthelmer , Miklos Szeredi , Jonathan Corbet , Shuah Khan , Alexander Viro , Christian Brauner , Jan Kara , oe-kbuild-all@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Horst Birthelmer Subject: Re: Re: [PATCH] dcache: add fs.dentry-limit sysctl with negative-first reaper Message-ID: References: <20260514-limit-dentries-cache-v1-1-431b9eb0c530@ddn.com> <202605152333.0pOd2zJR-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202605152333.0pOd2zJR-lkp@intel.com> On Fri, May 15, 2026 at 11:09:54PM +0800, kernel test robot wrote: > Hi Horst, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on 5d6919055dec134de3c40167a490f33c74c12581] > > url: https://github.com/intel-lab-lkp/linux/commits/Horst-Birthelmer/dcache-add-fs-dentry-limit-sysctl-with-negative-first-reaper/20260515-154600 > base: 5d6919055dec134de3c40167a490f33c74c12581 > patch link: https://lore.kernel.org/r/20260514-limit-dentries-cache-v1-1-431b9eb0c530%40ddn.com > patch subject: [PATCH] dcache: add fs.dentry-limit sysctl with negative-first reaper > config: openrisc-randconfig-r073-20260515 (https://download.01.org/0day-ci/archive/20260515/202605152333.0pOd2zJR-lkp@intel.com/config) > compiler: or1k-linux-gcc (GCC) 10.5.0 > smatch: v0.5.0-9185-gbcc58b9c > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605152333.0pOd2zJR-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202605152333.0pOd2zJR-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > fs/dcache.c: In function 'dentry_limit_worker_fn': > >> fs/dcache.c:1474:7: error: implicit declaration of function 'get_nr_dentry'; did you mean 'retain_dentry'? [-Werror=implicit-function-declaration] > 1474 | nr = get_nr_dentry(); > | ^~~~~~~~~~~~~ > | retain_dentry > cc1: some warnings being treated as errors > > > vim +1474 fs/dcache.c > ... > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki This is puzzling to me get_nr_dentry() is defined in line 178 in the same file and first used in line 209 and has been there since 2013. Builds fine applied to tag v7.1-rc3 and to the current master with gcc and clang.