Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3739809pxj; Mon, 7 Jun 2021 19:44:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN2rfPzs1SbB1eASq12N64bZeoqoccMpz8eFIPNky4ew36ZnGITwaI4xDWLJ4HPsvdDZD/ X-Received: by 2002:a17:906:4f10:: with SMTP id t16mr20626356eju.337.1623120297081; Mon, 07 Jun 2021 19:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623120297; cv=none; d=google.com; s=arc-20160816; b=eeJwF5bx/EfqO0T+zehCpIkMXFZ7pj3Avv9JfF8WlUJIvfOvEWLr+4+GxmIg+6jcih SQFZPF1UR2cqCkXCGulXMqua/t3ng6CkpFqQQ9ElY/HlduqrRyqpD5ZqLu7RbBWi5eqK F/yHv7juF3zECfUQzwDeoztMXdA6A1pqCNSy8fYdnFgc30l/EuT1BJpmBT6ivvJKyFVX i+zLnMtXD4cnZkgO4v9ZuNpjSiM4w/Ux8S8LLJbEQX3f5e2W5s9JpRQJGFvdKY0UoKXt Wpf9Ab6CnyTD4TO7K7F7rRBY3wSLAq3cnCGJaJjmYWB/QunkffcjhCAizMmWNOxy42TW 1MFw== 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=MJW2aU316zsdlokI3puOkWWWYq4+mt5p8NVOkJQDwyk=; b=YD4CKqwgGaEwWPhEwjGkwKxPOXbuVzn8lzMLcMT7UeBdmhNl/aNbiPmKFbZyL+XiWe woDY6jYu2kYbgR3OvtTvS6yUornUPnIsdsfuaQgPZVKMp/KszwpsKTl8Y+Fyj8hpQe1c D3zBcgHyjTKT+j29IYzYjzDACJET4Fe1xeUF9JatMOdS/mb32o2xxdppE4cxY2n6X3qo XMEumL8Pwgn4qDcrlgOmagRiUHuJ/9R9rbSXhoM4gl4AIr+0eqC+x2MnqARlKym0Gmwz pVIFc/L5fjZDvWqB6FqZDovnppnGLcTy6YMxROAEoH1whukad9HHRna/GNknZe1l30Kd SwRA== 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 u26si13919726ejz.348.2021.06.07.19.44.33; Mon, 07 Jun 2021 19:44:57 -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 S231224AbhFHCoZ (ORCPT + 99 others); Mon, 7 Jun 2021 22:44:25 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:5277 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230444AbhFHCoZ (ORCPT ); Mon, 7 Jun 2021 22:44:25 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FzZCS37Xjz1BKv6; Tue, 8 Jun 2021 10:37:40 +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:42:30 +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:42:29 +0800 From: Baokun Li To: , , , , , , CC: , , , , Subject: [PATCH -next] x86: fix doc warnings in csum-wrappers_64.c Date: Tue, 8 Jun 2021 10:51:33 +0800 Message-ID: <20210608025133.2759676-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: dggems704-chm.china.huawei.com (10.3.19.181) 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): arch/x86/lib/csum-wrappers_64.c:25: warning: Excess function parameter 'isum' description in 'csum_and_copy_from_user' arch/x86/lib/csum-wrappers_64.c:25: warning: Excess function parameter 'errp' description in 'csum_and_copy_from_user' arch/x86/lib/csum-wrappers_64.c:50: warning: Excess function parameter 'isum' description in 'csum_and_copy_to_user' arch/x86/lib/csum-wrappers_64.c:50: warning: Excess function parameter 'errp' description in 'csum_and_copy_to_user' arch/x86/lib/csum-wrappers_64.c:73: warning: Excess function parameter 'sum' description in 'csum_partial_copy_nocheck' Signed-off-by: Baokun Li --- arch/x86/lib/csum-wrappers_64.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/lib/csum-wrappers_64.c b/arch/x86/lib/csum-wrappers_64.c index 189344924a2b..25d533502693 100644 --- a/arch/x86/lib/csum-wrappers_64.c +++ b/arch/x86/lib/csum-wrappers_64.c @@ -14,8 +14,6 @@ * @src: source address (user space) * @dst: destination address * @len: number of bytes to be copied. - * @isum: initial sum that is added into the result (32bit unfolded) - * @errp: set to -EFAULT for an bad source address. * * Returns an 32bit unfolded checksum of the buffer. * src and dst are best aligned to 64bits. @@ -39,8 +37,6 @@ EXPORT_SYMBOL(csum_and_copy_from_user); * @src: source address * @dst: destination address (user space) * @len: number of bytes to be copied. - * @isum: initial sum that is added into the result (32bit unfolded) - * @errp: set to -EFAULT for an bad destination address. * * Returns an 32bit unfolded checksum of the buffer. * src and dst are best aligned to 64bits. @@ -64,7 +60,6 @@ EXPORT_SYMBOL(csum_and_copy_to_user); * @src: source address * @dst: destination address * @len: number of bytes to be copied. - * @sum: initial sum that is added into the result (32bit unfolded) * * Returns an 32bit unfolded checksum of the buffer. */ -- 2.31.1