Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3737610pxj; Mon, 7 Jun 2021 19:39:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJp98VdQw518aO+4S38Kb7C3EJ73gTTfrTWj5KB0K6fr3laVWKH9828iN4LTblur8AQzcz X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr21389299ejg.369.1623119998602; Mon, 07 Jun 2021 19:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623119998; cv=none; d=google.com; s=arc-20160816; b=R6T7OXG3Qz3rMd5d4sugM5GJSDgEwHtG2aEDZjnAB14MAW9tEwMOq06jQbaWNNXbc5 0IUPq27Y+88H4AM55euGuy/weoj4z9PFajJXUdQO3U6tWG3mO4RblNBZF42CVIL2fShR qZkOR0lSDRSZd0taJKC8f674kSP4eR5glTAaZaTR3dsWSGmWogqy/pewRyNB1wVUYIpg MPxUO+x9nMPkEmdO3CTeVrZDK51rcy9s2i/zWF+xozOojOZ0gzEq1CE2NhyZLAZFJ1x6 8UuiYbgMT9Ns3Jw4f+VKgB0czq/jMfdT/WfXWvsKbo978ba7xjugy0l9dgsitmIhQemV QU6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pDO0Fk8xT3PzisPhq0QAepA/ymanDWM0POouFA0Sk3I=; b=eMnOmk9BFHQfPGIJiQs0MbVczZUH/6tUa8o1dm+p11RyOnhT5tGuAIYtZhMrBtsgR9 rQS7M9KScXuaiWCZNDSRf16HtKRcplMiNRmc30A8PQ2KLWgJx3Moq/bNkjm4MrKpvIAj hcxEg5/wW+hxCjcMVI9JeBk6nzPoZHIhE4sX6U8/1a8g48xuw59Hgdx69zSm9nlwVhxb tYcYeQ4mq7aQ/s54cvDlkySUIMT/Pbpgoxs3fj1dHzSl1uuCJck87SUObh8AchILLkzx DT4i5Szy+iQJ8kHYMZxM6Uf8jd034sa047GJfZ1DXa1MsVxqwSvW+fQ2N/aTKbKYt1U3 TFcQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si529911edc.56.2021.06.07.19.39.35; Mon, 07 Jun 2021 19:39:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231347AbhFHCjh (ORCPT + 99 others); Mon, 7 Jun 2021 22:39:37 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8070 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbhFHCjf (ORCPT ); Mon, 7 Jun 2021 22:39:35 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzZ8F35jqzYsT4; Tue, 8 Jun 2021 10:34:53 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 10:37:42 +0800 Received: from huawei.com (10.175.127.227) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 10:37:41 +0800 From: Baokun Li To: , , CC: , , , , Subject: [PATCH -next] fs: fix doc warnings in read_write.c Date: Tue, 8 Jun 2021 10:46:51 +0800 Message-ID: <20210608024651.2754777-1-libaokun1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): 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: Baokun Li --- 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 9db7adf160d2..1c0c23c83c7f 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.31.1