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 DAD29C25B75 for ; Wed, 15 May 2024 17:48:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5BE5E6B03AB; Wed, 15 May 2024 13:48:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 56F016B03AC; Wed, 15 May 2024 13:48:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4357B6B03AD; Wed, 15 May 2024 13:48:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 214D36B03AB for ; Wed, 15 May 2024 13:48:10 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id DA04C1A15C3 for ; Wed, 15 May 2024 17:48:09 +0000 (UTC) X-FDA: 82121363898.15.19BAFC8 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by imf01.hostedemail.com (Postfix) with ESMTP id 5969340008 for ; Wed, 15 May 2024 17:48:05 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AKYetB93; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1715795287; 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=nzcGchzR3Ua5sYFKElYmDUt1SbKT0JUjcFdJ2is0rbA=; b=V4PslnAK4hZHZceAxM8E6yuXPN13YDioSxUgjWZxWCDcTzOpjh2vhqAQsaExEUChaBNvUi 559keHnOpwey4O57zZxEOLqlW2AbXV8TSnN7hGq+S0T8G4OYaRYxYJB6x26itBZ2RXHsUS xlPk5eTuLh00TA4jnXgryU08XAHSDO4= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AKYetB93; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 198.175.65.12 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1715795287; a=rsa-sha256; cv=none; b=s/5ZVgot0ZAv8bo5S/SmKRpP+mtM33pizbxCyimP+TF6u/kkg4NgJ+joKq2rOFOYUgalOX 9nQgQOU+RKHVvMqrEhr0s37z3bl1EgGRdAGz+ddOlzeBK5fNDvcDMd6QF9g8rxnQOqrvLG ZcPgo8MOvOnP1z5f60wVWswDWv2mRJg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715795286; x=1747331286; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xMrmqGZHOFO0FBB5gl+pygCJcHRq/yHK9bJC5kINOGg=; b=AKYetB93aeRHL4liWdUeJ/4O8Z4IGNSPbjv0TRa1mb8Pn2rrL/Vm4ciz FDjYmUFnaftu/FngCM4lA8ZpugDYsr7vkYZgL3eXSPa4jslx5cv5a9WG0 YoHkS/ampttlhefT5SA8eeaktYr40Swv90XC9d+QK8afea+vbYMXqU+iT a/syZ9xYBjI6iHdtlqIxyukUbJzAzXqeXqrWjhwpa4RU3NBiEjEY5b/D+ 9msHFI6akHpxuf6skR0DDBL9EihpKgox3n2O8C1XISt1ds9TcTbcr8Rt3 eqTUgBUOpbRXDXxqEQK4KDblm8t3LfIKHDaVAb3xC6w7jrc/2OBzc/cYm w==; X-CSE-ConnectionGUID: cPciTveBT/y/CSD2zkJ+oA== X-CSE-MsgGUID: vWfemCaJRNaHANTAFDLCyg== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="23266192" X-IronPort-AV: E=Sophos;i="6.08,162,1712646000"; d="scan'208";a="23266192" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 10:48:01 -0700 X-CSE-ConnectionGUID: vrKLvf9nSoWN9pcJPKbFLw== X-CSE-MsgGUID: lIOSSUD+Ra2E1OgS3yl50Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,162,1712646000"; d="scan'208";a="36019653" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 15 May 2024 10:47:57 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s7IjK-000D6H-1O; Wed, 15 May 2024 17:47:54 +0000 Date: Thu, 16 May 2024 01:47:09 +0800 From: kernel test robot To: Daniel Gomez , "hughd@google.com" , "akpm@linux-foundation.org" , "willy@infradead.org" , "jack@suse.cz" , "mcgrof@kernel.org" Cc: oe-kbuild-all@lists.linux.dev, "linux-mm@kvack.org" , "linux-xfs@vger.kernel.org" , "djwong@kernel.org" , Pankaj Raghav , "dagmcr@gmail.com" , "yosryahmed@google.com" , "baolin.wang@linux.alibaba.com" , "ritesh.list@gmail.com" , "lsf-pc@lists.linux-foundation.org" , "david@redhat.com" , "chandan.babu@oracle.com" , "linux-kernel@vger.kernel.org" , "brauner@kernel.org" , Daniel Gomez Subject: Re: [PATCH 11/12] shmem: add file length arg in shmem_get_folio() path Message-ID: <202405160144.a9ad9CX5-lkp@intel.com> References: <20240515055719.32577-12-da.gomez@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240515055719.32577-12-da.gomez@samsung.com> X-Rspamd-Queue-Id: 5969340008 X-Stat-Signature: sbdcu718xh1618nymnocxefthki4dz9n X-Rspam-User: X-Rspamd-Server: rspam04 X-HE-Tag: 1715795285-277233 X-HE-Meta: U2FsdGVkX194BF0vXHcqqef0AJlUDKBG3pLTWyHEJ3MiloZO0+6Q0G7VvWmO9xNnbr359NMD8O22O6rhtvRmCdYGKLXCkOw0yvp3WBTaJvl2uOkAuAA8LUEWQkNhRoLI8YoyAte3worViWEPr4MBzzPkevxfADLi6Vz9RG1J49f6Myp08i8lrR5LuaqyPylTt16vjazOMC5nYPQSQbpqGUJt8j8SAGBDsT01yG12ORRATkijjLHByX+PALjryk6uwo9TKS+hl+EFvxEMsmMk29yK2qDgLYb59JxOH7SpyIaTk1M6CC0unuy5bAYp4To7bpD54RT8Ze9KpyDNDEyM5rsR+fF7oXpSuL6Y53eOPdMqdZYXN5gCF08taqs+IhbIqXj+Yp8b6v3u7LXD0w+XUJNBscEinqDrXU44i3oSbrqKBEV+7TpjDJlEI6qCdKAKMcZGLZFPTUi+KgTZISCngEqBXaPdv2LWZ79tiV+QpGXhHp+GE3ZQbWM0atTIxaxMGrjgpr5gF3iYBcmljOivMrFwbaDc6wdzIT9FwifqTnVYkjSI+pVe9wQcrU/2KBmYyjBzSFppwiV6AHWSRGIqVvXnl1n74eHXKICtQ339kbKivGu8GuGZCHYSPtMp6WfmG+Zuip6rIDDF8RW/maqLApkX7GGndR0JPYV7Fir9sBsfDS9AHOBKhwvdzTVaueVfWsqM7Kwlv72iohNEKfZfcKa+w2hrk1hVtXpbGrZwTiur0wRefyFa6by1l+nKi8KFCs9wxcWC6xM20laC+0PRppCTSFUO4/tKS/RGm1lrYJAPo+0fyAluQF2aXO5WaE6yh2C7L3cz+/4oqem1pcbu/6Ux0IpaC8DQ9bhUNmGwQmJFgPGdSigLSBM3iADYO+NyuH8jed1dYNmBfTxVgqlRebu6s/D1vcK40MAeRgGVSmMH+ohQFc2gceSsBU/p2daG0aNAmKFTYVTNqW4x700 tWnp7zTK jh8BTRPx9jMw89DbIy6ehpwehhhTMsemIuWTYmkGPp+5qrAL5ry3XOecH27lsR01ml9Jv1gYYZz+1eY9OTCnIBHfgs0A/QpW3AzsC3p3NsRsyyxMm+kRCatUmylePOXxzzej3Lhx9A5FLQ5xzwcSDQjlaIiFK6QZ/SFYmv2zc6yFGKhvukVp0gjMZBtV540a6/gjLB3B1Yh6pYPc9i3sCDaVc/A2cJR1dKYmytcD60sz74c/qDngISi1lHhJxHT3ega7WPbqdI6whgxt1Dl0adS6Nuc/rw7IMhgz7mIS4OKfAsaXzo3F2MVMmq5Cwhbnfj9aJocQTJV8yoPLZH5oYmasZ+QBRCtCRFyhqpV0F3p8WxAQDmzOdhiwetGrDBt6XldCC4GO1+Y82kj9bjOjkCgbL+IRCIQP3r4HD3SlUQVf/o0g9vs4DKCbknJ9OesIHAQwMCKob9nvUc4NSirv86BW9LMMSryXo/W19GXMOP2+qglIqAm7f7wZDD5wOMO6MERXrSxWgPuJMwyejfAFknJnp/RK0+X11zXNX+c+eIRQfz7k= 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: List-Subscribe: List-Unsubscribe: Hi Daniel, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on xfs-linux/for-next brauner-vfs/vfs.all linus/master v6.9 next-20240515] [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/Daniel-Gomez/splice-don-t-check-for-uptodate-if-partially-uptodate-is-impl/20240515-135925 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240515055719.32577-12-da.gomez%40samsung.com patch subject: [PATCH 11/12] shmem: add file length arg in shmem_get_folio() path config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240516/202405160144.a9ad9CX5-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240516/202405160144.a9ad9CX5-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/202405160144.a9ad9CX5-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/shmem.c:2382: warning: Function parameter or struct member 'len' not described in 'shmem_get_folio' vim +2382 mm/shmem.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 2356 d7468609ee0f90 Christoph Hellwig 2024-02-19 2357 /** d7468609ee0f90 Christoph Hellwig 2024-02-19 2358 * shmem_get_folio - find, and lock a shmem folio. d7468609ee0f90 Christoph Hellwig 2024-02-19 2359 * @inode: inode to search d7468609ee0f90 Christoph Hellwig 2024-02-19 2360 * @index: the page index. d7468609ee0f90 Christoph Hellwig 2024-02-19 2361 * @foliop: pointer to the folio if found d7468609ee0f90 Christoph Hellwig 2024-02-19 2362 * @sgp: SGP_* flags to control behavior d7468609ee0f90 Christoph Hellwig 2024-02-19 2363 * d7468609ee0f90 Christoph Hellwig 2024-02-19 2364 * Looks up the page cache entry at @inode & @index. If a folio is d7468609ee0f90 Christoph Hellwig 2024-02-19 2365 * present, it is returned locked with an increased refcount. d7468609ee0f90 Christoph Hellwig 2024-02-19 2366 * 9d8b36744935f8 Christoph Hellwig 2024-02-19 2367 * If the caller modifies data in the folio, it must call folio_mark_dirty() 9d8b36744935f8 Christoph Hellwig 2024-02-19 2368 * before unlocking the folio to ensure that the folio is not reclaimed. 9d8b36744935f8 Christoph Hellwig 2024-02-19 2369 * There is no need to reserve space before calling folio_mark_dirty(). 9d8b36744935f8 Christoph Hellwig 2024-02-19 2370 * d7468609ee0f90 Christoph Hellwig 2024-02-19 2371 * When no folio is found, the behavior depends on @sgp: 8d4dd9d741c330 Akira Yokosawa 2024-02-27 2372 * - for SGP_READ, *@foliop is %NULL and 0 is returned 8d4dd9d741c330 Akira Yokosawa 2024-02-27 2373 * - for SGP_NOALLOC, *@foliop is %NULL and -ENOENT is returned d7468609ee0f90 Christoph Hellwig 2024-02-19 2374 * - for all other flags a new folio is allocated, inserted into the d7468609ee0f90 Christoph Hellwig 2024-02-19 2375 * page cache and returned locked in @foliop. d7468609ee0f90 Christoph Hellwig 2024-02-19 2376 * d7468609ee0f90 Christoph Hellwig 2024-02-19 2377 * Context: May sleep. d7468609ee0f90 Christoph Hellwig 2024-02-19 2378 * Return: 0 if successful, else a negative error code. d7468609ee0f90 Christoph Hellwig 2024-02-19 2379 */ 4e1fc793ad9892 Matthew Wilcox (Oracle 2022-09-02 2380) int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop, 02efe2fbe45ffd Daniel Gomez 2024-05-15 2381 enum sgp_type sgp, size_t len) 4e1fc793ad9892 Matthew Wilcox (Oracle 2022-09-02 @2382) { 4e1fc793ad9892 Matthew Wilcox (Oracle 2022-09-02 2383) return shmem_get_folio_gfp(inode, index, foliop, sgp, 02efe2fbe45ffd Daniel Gomez 2024-05-15 2384 mapping_gfp_mask(inode->i_mapping), NULL, NULL, len); 4e1fc793ad9892 Matthew Wilcox (Oracle 2022-09-02 2385) } d7468609ee0f90 Christoph Hellwig 2024-02-19 2386 EXPORT_SYMBOL_GPL(shmem_get_folio); 4e1fc793ad9892 Matthew Wilcox (Oracle 2022-09-02 2387) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki