Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp176975lqo; Wed, 15 May 2024 10:53:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQFq8CK553SYuwYYp1Umisfp3ro2Pkv3Ha/ftXzXJT4zRMytoQ+qiEfl4mvn7/W03cSrHBxhLxEOJNtCRVRqnVFZeBzcne+ic5NB9SGw== X-Google-Smtp-Source: AGHT+IE/TUuhVbi0IREP6rrsqKZDRPfBWnCdt0mr9OgMKoqopuWKQ6TRpCF0ebBknEJqqCAIoLZJ X-Received: by 2002:a17:903:32cd:b0:1ee:b0db:e74a with SMTP id d9443c01a7336-1ef43e28493mr215643555ad.40.1715795597399; Wed, 15 May 2024 10:53:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715795597; cv=pass; d=google.com; s=arc-20160816; b=UEGHFMnWIFBCwb2B+kBXAAAwjqYropfrL9t8O7jBkfPkB29Nj8YvjbApx798c57GYV ids7APlRZnFKgfPVlMNVeKpm1F4LKDlzO02N0+RjO6bMC+ypEoHL+gVPufIGi9Z0A2Wj v4R2C2RbU25Lzkb+kP9DC+BTSalQw5eGxgYfKzDqWmlXXPzLnYOjAVUVOw17eTRwI1xX 9sjLdixf/JtIZb5/0ajYxHeFVTWUOmOWHq9HsSslDNUZ5uVrHvMvmbxlISCmThZuz/4B HmzsFRLQMk6GfXXxRFbLCdTKmTOrS3UL6xpgICydgSdS6QuTR3cese5GMzvCr3LxLWY+ V/Vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nzcGchzR3Ua5sYFKElYmDUt1SbKT0JUjcFdJ2is0rbA=; fh=mAqDFzclWLMbLbq6Ja1aanOak0YbOZx5pDzbzn+djOs=; b=qzJzEnahtkQzi5kumND0XWDGJxJ+7fcYG0C9Twci6Usz+ut+ABVI47fQE0q9nJN3x3 PDvBpvm3IKWHfHwXPY1t+yJLaKt9wEOkasd2ssng/C+Fmg/etBDW4EG14FqfqAQ+9H8u CQTPkO2rIhaeAiFHRv//lfIyAQ81ZSEBEXX0abMJwpK7ireEtVvhKAVx7cxoY9B5WSgz GjC6tYHJqsVN0qKTSsL2ovsTm4NTg6vIfdITqm5KHPni7oiXQ1lWLa+Q50UnrMxq9Drq wm1ywSGqVKZPn0TPTYvvKw6CehxgnzAvIu5s5QvMmeXyecF3+WXAbJzYec+Q32QXqAja GIjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AKYetB93; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf319eesi10433645ad.206.2024.05.15.10.53.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 10:53:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AKYetB93; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 07C5BB24C88 for ; Wed, 15 May 2024 17:48:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9527158863; Wed, 15 May 2024 17:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AKYetB93" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 1FB25158860; Wed, 15 May 2024 17:48:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715795288; cv=none; b=CyoJgP+dAzH5cCPj6PqyQ5p+6ZLmKQyTks+8dAVcQ0w9DodJX95p6c0YwFDB+MNRU4oa0wUtUvY2ScQgii2jAenyqOqQuWH/imm01J+EvYCDtj1wqgzNgdESSgEhTncR0GZW+lFwN2JVhAtY0r46EJ2E/Ixj0sj0u6Dh+gYjzsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715795288; c=relaxed/simple; bh=xMrmqGZHOFO0FBB5gl+pygCJcHRq/yHK9bJC5kINOGg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f+sldQiMxKdMKKwW2WAT/1qB/j0JVpRS8g9+VfIck4eV/8/+AcqH37CvGP6AtsO6T7NQpy5hFaZfMoSGjhs8mKSBZuJFVA5F4xqHlzLgp3YcYdRpySoDixx/hYIQVrSl6eGcH/jFoBUuS61fWdM7IymjTBSwqjvfUbXOSujq3Kg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=AKYetB93; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com 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: hSAAVt/QRRiZm2tj3F0e8w== X-CSE-MsgGUID: i7fLzU+RS+aLQHimJxb/0Q== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="23266189" X-IronPort-AV: E=Sophos;i="6.08,162,1712646000"; d="scan'208";a="23266189" 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> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240515055719.32577-12-da.gomez@samsung.com> 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