Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1893477pxk; Sat, 5 Sep 2020 01:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ3lSWp+djxjXZRFj6hdKLDP1Cf0HQMybV4xfElPrDLq77Sb8FA9NjSuc4P5EcuPuTeKWw X-Received: by 2002:a50:a165:: with SMTP id 92mr13029550edj.320.1599295185267; Sat, 05 Sep 2020 01:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599295185; cv=none; d=google.com; s=arc-20160816; b=WRl0Vov6ZuBeFmNbEuJbzjK5grxvEe1IoPGjA8YaSbreI8KZHteqiyp67P4e0FzhNl OHtcOKuxnZc3muRAAP/QeKgZM6k6v5/Eijfc4RkWrP0trEys28XbOkKBbP5c6liPUfy/ ygZP+BCBxeY+COWDoT7sSu8mN8s6n7RNL2+7SmJA6cC8d20YKyIcmL7qux3vuH4+KyZl wqYWT9Bjfbh+CRizpvvhHouQLeLQosX5rPI8PNsPoFnlYeNdnanJ/6cuNtLVNpfEjmG/ k1r4Zo3X4Jh6K+7NlW9fhk0pzGE45lUZaVh+f0zrZ5EF0S6BArrllJkngv7el3HJsLYR GGIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=3vOUeJqfnwTJgWuNb7CEZ7rSwqBMbCNuijL8awx0XoE=; b=IE+e1IA22edTboYW8Ak79KWfpPNoKaH3DuaoMuH7T7kr9czQT79W+l63KgLL9R/yMN fCd969y8c2B2+HUJmC/TLNqzo9G9md5ok3gocThcX0dqLd49sZ65aCaaPHpiIPskKOuU DyVC0gvYOXrC1JO7XED2F/PjBxrhsvN/IDJCHSYx8UqIOzfuGQUzDSKNV1wflOri792i Q0XeIDulPWbTL9jWRQWG97pVA+zTnA/0eF0QWjdl01cVIGyESB9I4Od0m1J/RHKzLUNZ KdR2+3YZY4ACCDNLussxnyuv1KFGrGO76XEhC3J0xy361OC4BHhgKrz/NFGwSgNrSOby OuQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h27si5373369edj.263.2020.09.05.01.39.21; Sat, 05 Sep 2020 01:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbgIEIfj (ORCPT + 99 others); Sat, 5 Sep 2020 04:35:39 -0400 Received: from smtp.h3c.com ([60.191.123.50]:59841 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbgIEIfi (ORCPT ); Sat, 5 Sep 2020 04:35:38 -0400 Received: from h3cspam02-ex.h3c.com (localhost [127.0.0.2] (may be forged)) by h3cspam02-ex.h3c.com with ESMTP id 0857MrRw079323; Sat, 5 Sep 2020 15:22:53 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com ([10.8.0.66]) by h3cspam02-ex.h3c.com with ESMTPS id 0857MkCp079300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 5 Sep 2020 15:22:46 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from localhost.localdomain (10.99.212.201) by DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 5 Sep 2020 15:22:48 +0800 From: Xianting Tian To: CC: , , Xianting Tian Subject: [PATCH] fs: use correct parameter in notes of generic_file_llseek_size() Date: Sat, 5 Sep 2020 15:15:25 +0800 Message-ID: <20200905071525.12259-1-tian.xianting@h3c.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.99.212.201] X-ClientProxiedBy: BJSMTP01-EX.srv.huawei-3com.com (10.63.20.132) To DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 0857MkCp079300 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix warning when compiling with W=1: fs/read_write.c:88: warning: Function parameter or member 'maxsize' not described in 'generic_file_llseek_size' fs/read_write.c:88: warning: Excess function parameter 'size' description in 'generic_file_llseek_size' Signed-off-by: Xianting Tian --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index 5db58b8c7..058563ee2 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -71,7 +71,7 @@ EXPORT_SYMBOL(vfs_setpos); * @file: file structure to seek on * @offset: file offset to seek to * @whence: type of seek - * @size: max size of this file in file system + * @maxsize: max size of this file in file system * @eof: offset used for SEEK_END position * * This is a variant of generic_file_llseek that allows passing in a custom -- 2.17.1