Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3737476pxj; Mon, 7 Jun 2021 19:39:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0AfOrTsC35KygLRmrWsKlN9Z8cD/l3UPy1f1FbB2atWAXeP8NH7pZZwXTxj9X7UEOtN/C X-Received: by 2002:a17:906:70d4:: with SMTP id g20mr8070485ejk.327.1623119979645; Mon, 07 Jun 2021 19:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623119979; cv=none; d=google.com; s=arc-20160816; b=lqw3soYBSieRh21bv6iSCcCefQHC+7CzFIXCgeH2Xp97X3EYRsntXu4mhSsBqg1H4m z79ZyWBmKeVbwbsRQoriWTK80+QiiTkbozzpXbDhqfsRihEyF7UiRUHPh44aGgvr0/9I p8NxqBvFc3vH8sz+6888/XD5u/iuK5xolAcPFZiXwZ89rDqFjRGB7i9ZeWd1sKjeh2D0 F7a4gkZVDfy2bpgR3DECtaxeHZEAJLkxaujT0OS4RveQ6bEuV+Zoi6WMwV378gTfz+J6 wl/z6sis2LDMc7byRB/2ent0woRb2G5Yn3z140kdfgkVP28hs/S+QqJglQH+woPpExqv MqXA== 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=Jj7YbSqsfjwNiT9UGVqtjjK9q+kwJ6y/N58tGZSl9tg=; b=wVXm8fixwjqcXbUSLMTmaP6GKLIRmhN+Dbyebhp0XEJBUYdyQC70I1IoLnrOhmojsw dkusBASeNTffnzqFD5ZqI6S1N/ruxu8IGLnQUCc1/qB86xSjOunFIkdhBCFt8sk3ne8b xpv1UmBv5iP6nbsGS01vXRS7/fWn2gjF0jXtK+k+cvqguM5tU1Hp1oMsT1WVFNzDawJa UaJc29/T34OVLDnh6ek4QrI4XLjXi2fqqk9NomcxMdhVp5UXfEQxrvEow49hLr9FinJp P5Qu5zKCMpipmGLrjoJzu2+jniHIc6C7ymc0Baws5CgCkAbl1N40oA4VvWoo8IsBTpn0 15bg== 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 e14si1344135edm.431.2021.06.07.19.39.16; Mon, 07 Jun 2021 19:39:39 -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 S231278AbhFHCie (ORCPT + 99 others); Mon, 7 Jun 2021 22:38:34 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8069 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbhFHCid (ORCPT ); Mon, 7 Jun 2021 22:38:33 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzZ730fx9zYsT3; Tue, 8 Jun 2021 10:33:51 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv711-chm.china.huawei.com (10.1.198.66) 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:36:39 +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:36:39 +0800 From: Baokun Li To: , , CC: , , , , Subject: [PATCH -next] fs: fix doc warnings in ioctl.c Date: Tue, 8 Jun 2021 10:45:48 +0800 Message-ID: <20210608024548.2753635-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): fs/ioctl.c:1101: warning: Function parameter or member 'file' not described in 'compat_ptr_ioctl' fs/ioctl.c:1101: warning: Function parameter or member 'cmd' not described in 'compat_ptr_ioctl' fs/ioctl.c:1101: warning: Function parameter or member 'arg' not described in 'compat_ptr_ioctl' Signed-off-by: Baokun Li --- fs/ioctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ioctl.c b/fs/ioctl.c index 1e2204fa9963..b0ef5089ff29 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -1076,7 +1076,9 @@ SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) #ifdef CONFIG_COMPAT /** * compat_ptr_ioctl - generic implementation of .compat_ioctl file operation - * + * @file: open file to invoke ioctl method on + * @cmd: ioctl command to execute + * @arg: command-specific argument for ioctl * This is not normally called as a function, but instead set in struct * file_operations as * -- 2.31.1