Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2969395pxk; Tue, 15 Sep 2020 07:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlkUeez7L3i9uDghMlhH6YRn06mK/p4SrW/X8wpboiqIhyMj/1oExo4Ze77RVaZZWcdT/S X-Received: by 2002:a17:906:4cc6:: with SMTP id q6mr20497793ejt.201.1600178718917; Tue, 15 Sep 2020 07:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600178718; cv=none; d=google.com; s=arc-20160816; b=cq1yMf8G8v5CFtUcpIpIXu9ypeQcIapz8hObTUsQPxCY4DNtSU56eJ8oix+G74ftV7 5URFDB74jt7u3/IzgQbm556obNhCN/NoY5nmRL4Y2ZPwsHZy/4RuHzcl/fLIU1Hh2iKU FRl6jt43mQIAWmKS1impSIdQZp3U8EI9C0ETXeEAT8H4GAxmp6nDgFJvJeM8Q8LOwAVa HKoNcFpsBQNXa2trRvIwcHCSNLNJJPtzGNVT6SUNcMqH09m7/InwOpuLbaDef7BpmxUS wEEy2+xgCXbtfbnqjHDSuhj4kzkSz4FG6PM6QgBo3RJuTYbwvFFobFEUyZjiVyrNz84I 7QbA== 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=1M2T/hpb5CPABxh1LaPFUloYeCYQA3/jQnJbNbPGTOs=; b=KulDECc2OGVwpW/Qnl1jxTH+BtcQ/eXKEN821hGlaeSb26FGDcoi6SWaK3A6XU7mbz /6y+cEoFv6zrlxZIzz9Z6hs9D3j+HP2fTPSfPMP73thdbS0VTQoYr4l6DhtOAwATwXPd yQs1LQFkYHQK+kw+zNJoKs00coBFdnQCX0R8ZYPpOehySC41/gXOcEODlBmOnD39AC/x 7k+eR2jVeBhr5c/DumqRIPHJTmUfwWyoH2Cvnm8Hujn63TyaaVl+cVwhoDuwycuzRN6u mXWTKYPNbIhYnuqirqAUlkOtX2B32gDXYqGN7gLMQ/5KuDxAWaJmXFanLqPQQ7VixekF qbyA== 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 s16si9317949ejz.557.2020.09.15.07.04.54; Tue, 15 Sep 2020 07:05:18 -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 S1726770AbgION6q (ORCPT + 99 others); Tue, 15 Sep 2020 09:58:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12269 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726751AbgIONtl (ORCPT ); Tue, 15 Sep 2020 09:49:41 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0223428B378948B843DE; Tue, 15 Sep 2020 21:31:59 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 15 Sep 2020 21:31:51 +0800 From: Xiaofei Tan To: , , CC: , Xiaofei Tan Subject: [PATCH] fs: fix ioctl.c kernel-doc warnings Date: Tue, 15 Sep 2020 21:30:35 +0800 Message-ID: <1600176635-3717-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix following warnings: fs/ioctl.c:109: warning: Excess function parameter 'fieinfo' description in 'SET_UNKNOWN_FLAGS' fs/ioctl.c:109: warning: Excess function parameter 'logical' description in 'SET_UNKNOWN_FLAGS' fs/ioctl.c:109: warning: Excess function parameter 'phys' description in 'SET_UNKNOWN_FLAGS' fs/ioctl.c:109: warning: Excess function parameter 'len' description in 'SET_UNKNOWN_FLAGS' fs/ioctl.c:109: warning: Excess function parameter 'flags' description in 'SET_UNKNOWN_FLAGS' Signed-off-by: Xiaofei Tan --- fs/ioctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ioctl.c b/fs/ioctl.c index 4e6cc0a..81b028f 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -91,6 +91,9 @@ static int ioctl_fibmap(struct file *filp, int __user *p) return error; } +#define SET_UNKNOWN_FLAGS (FIEMAP_EXTENT_DELALLOC) +#define SET_NO_UNMOUNTED_IO_FLAGS (FIEMAP_EXTENT_DATA_ENCRYPTED) +#define SET_NOT_ALIGNED_FLAGS (FIEMAP_EXTENT_DATA_TAIL|FIEMAP_EXTENT_DATA_INLINE) /** * fiemap_fill_next_extent - Fiemap helper function * @fieinfo: Fiemap context passed into ->fiemap @@ -106,9 +109,6 @@ static int ioctl_fibmap(struct file *filp, int __user *p) * Returns 0 on success, -errno on error, 1 if this was the last * extent that will fit in user array. */ -#define SET_UNKNOWN_FLAGS (FIEMAP_EXTENT_DELALLOC) -#define SET_NO_UNMOUNTED_IO_FLAGS (FIEMAP_EXTENT_DATA_ENCRYPTED) -#define SET_NOT_ALIGNED_FLAGS (FIEMAP_EXTENT_DATA_TAIL|FIEMAP_EXTENT_DATA_INLINE) int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical, u64 phys, u64 len, u32 flags) { -- 2.8.1