Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1748825pxb; Wed, 9 Feb 2022 03:47:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXFPCndsVU8m8ATVtIJM6ZddK+x8WaymtqUwXlJ6n6Tbvp/RjvfqCC0IWZsMHm+IgHuJKg X-Received: by 2002:a63:6bc2:: with SMTP id g185mr1580370pgc.480.1644407234576; Wed, 09 Feb 2022 03:47:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644407234; cv=none; d=google.com; s=arc-20160816; b=fnjT4hNlTstSOHIz+fOetLFyWQixK7kyLiDG3k0y6/qW7OACnLSaROuYnWySOjrGMJ aF8IjkEHDBnZPXhneu6QhcdZf5LociViO9FmjSFshEZsUbTF/JeoO8MBdHNJd1YxjO/T QheqWMjiOG+1YuiwgWtDB2gWPUM2JBg01+/y/zPA9XNrI41zS1nIVajLFsC1+xPnxzZW niDpdDd6awTM7rGKlmhnUyArcf3/Tj0cMujnudB/3ywwNU8WTj5RgZ2UGEO89yfp0EZo GAIPpy1WEOZvoZauZg1kKohzAUeuFZeL7E1qM/iUYy15ieB2AqDf9Dn/WZfXbdzvAbc1 IxzA== 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=dozCsA8sVu4UWUFZ6mVeBHSc1QSdDLsSv5yFENiazBM=; b=H+dNNDbaYhGJDOgW3DhTo5ZprkZmc0xUFxD6HjYzz/Afsvh6DiJ/49mUNX6cmOxhId dqqRaf4OCLH4xjD91TxSQ0WAVTege9EPTM4EpGASn89dhKu1ewavVOFgEw5/1fsZ7OVU a8FoJ2XTs49n2Ix0P4MFFdnMM6RZvGMdQgEw1tev7O2lPBbgoZ2qWxJy9Zxz0W9kmZz5 V8bsqUS9MYSqqV2z48uZiXTE+AMezG07STHyWS8oNPIWyWSpmlk8Z4HIeUJo761XKr1p RAvQ7nF6BbdWZzXtPW+NG/UVhuexOK8/j73PVi+DhZ2oFfhEKfqeaIyDaHEDMTnKuxBU 8qVA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q145si16268920pgq.438.2022.02.09.03.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 03:47:14 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EB975C1DC16D; Wed, 9 Feb 2022 01:58:36 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239696AbiBFN2e (ORCPT + 99 others); Sun, 6 Feb 2022 08:28:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239584AbiBFN2d (ORCPT ); Sun, 6 Feb 2022 08:28:33 -0500 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47E3BC06173B; Sun, 6 Feb 2022 05:28:31 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R381e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V3h9.oE_1644154108; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V3h9.oE_1644154108) by smtp.aliyun-inc.com(127.0.0.1); Sun, 06 Feb 2022 21:28:28 +0800 From: Yang Li To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] fs: Remove two excess function parameters in kernel-doc comment Date: Sun, 6 Feb 2022 21:28:26 +0800 Message-Id: <20220206132826.1523-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the excess @opened in finish_open() and @cred in vfs_open() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/open.c:1048: warning: Excess function parameter 'opened' description in 'finish_open' fs/open.c:1090: warning: Excess function parameter 'cred' description in 'vfs_open' Reported-by: Abaci Robot Signed-off-by: Yang Li --- fs/open.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/open.c b/fs/open.c index cf4cddc4e3f5..dbfb99a95ec0 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1030,7 +1030,6 @@ static int do_dentry_open(struct file *f, * @file: file pointer * @dentry: pointer to dentry * @open: open callback - * @opened: state of open * * This can be used to finish opening a file passed to i_op->atomic_open(). * @@ -1084,7 +1083,6 @@ EXPORT_SYMBOL(file_path); * vfs_open - open the file at the given path * @path: path to open * @file: newly allocated file with f_flag initialized - * @cred: credentials to use */ int vfs_open(const struct path *path, struct file *file) { -- 2.20.1.7.g153144c