From patchwork Mon Nov 7 11:08:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 16378 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1982140wru; Mon, 7 Nov 2022 03:10:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM4vm9ibXYSBXkiD9JqTjr/IWioLhHzWq9T0Sp618UAcsN5NSuDmezduUiTYHyqaMJZQ21r2 X-Received: by 2002:aa7:8e81:0:b0:56b:9ce2:891f with SMTP id a1-20020aa78e81000000b0056b9ce2891fmr803310pfr.43.1667819453405; Mon, 07 Nov 2022 03:10:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667819453; cv=none; d=google.com; s=arc-20160816; b=pg3myiP2c6j9VeZIPm0BRYAlL3+tqQQD9K+0UO7nQ9zL5TCHHjocfegrx0AhFpICw8 5P0ohlugTxmMeRTbODxJMnjxkZn2vRC3p0uWNO7z8kpism4bkzbEZJinzjiy04xpDZ7k Obbvj8nD5z1KR+Sx4cCpeZREvS27dpExo1Rwd4uX0TNjpeEFQiGwO74T7E3sGpua8S3L 0CuWb4BCBSoNME1+mexYXya5sIsesVx2w4WEqeKK9kFD74dRqbZA+/pjuy+ErySKoifr vsLUhAVsC+e6ivoQybc8tejFTqNML5xNVRlC1Vp1hAXT0rE5sZbupW0wVXa/ljCJ2lYb cdvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=mBeWKSuUmKmFn3ZQmaWb3K1FNR9mxLjZz/vQiATbFHg=; b=rRuy6cxi0hX/uuO3tySsD8XALNh3bibI8rWsRx2REV9mjDYrL6L0UCdAFnajWxGBmR os5L/fzPg4ZbK6Z46vEtTdQXDdrQdj9LcW3zWNeD/3XcScAEFs0bdkZGcMENMq4s22PZ s/W1AF+O8GVt1IlzkS3zxCJZi4K0q8JkKLs3+L8uv+W23Wo+nilDxZiJfbyWfPmFDIH9 rVj+FCEEi0JFTPCbfvJZyCxwY1scjkIE3PKwc9W8vO8QG+L9KdtK7C8kU8lEz6J/SKYj cxaSgSsdx+JpPmqSGexMCvuYqpvxzyutjs5jc9IcSR4pZYwpmgm5mFDtf3nnh0LRWKpQ Ifmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J2B0+AZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w18-20020a170902e89200b00182bccf6195si12158600plg.596.2022.11.07.03.10.39; Mon, 07 Nov 2022 03:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=J2B0+AZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbiKGLJq (ORCPT + 99 others); Mon, 7 Nov 2022 06:09:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbiKGLJZ (ORCPT ); Mon, 7 Nov 2022 06:09:25 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F6C51A237; Mon, 7 Nov 2022 03:08:50 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id h9so15685870wrt.0; Mon, 07 Nov 2022 03:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mBeWKSuUmKmFn3ZQmaWb3K1FNR9mxLjZz/vQiATbFHg=; b=J2B0+AZMmfcW8H1mciRAq/WS1UoAZDBP2lnz9NbEnC8N2nmPX6lM8BqMD3bC2X5U09 A6DgJQA2zVtcrvS9TmyUVgxTr/sy0Ca772Z6c3+WbXXCTizyT8ahucCcribdJfegbBWk pZO20Hu5bo6Yz0cnVO5Cqbd0oVy5MxLppO1+TMHHkB/MFbxrpEpMS3TURXCAtsIHkQLj o/NXWr2/17p1+AChkEAO/pZVe7nRb6y9HvIKzkBhweS65T+bsN1BokX3RtHKLdMoV63S YlB5ZetYywS0uG79VKrDahyoKIpYYvEoAAziLM5U1pHwNdcrrBgRYbXB3WhhDwlTaxdh i0aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mBeWKSuUmKmFn3ZQmaWb3K1FNR9mxLjZz/vQiATbFHg=; b=eQT3VT6Pgdq7m+/flq7Z2mrntZcSBP5WmNPQ9y7offO/i3v07hhpwYD10bvGE9tQ2O A7zI2wXe5tFJaGU1OYzyPGsNR7oDq44LNoiJEMelxk0p02d6r/dMCsoCBy16nc0QCGjg TsJVFYbMnbWH+to1DNu7OA3AZThfEKT80BR+ZZD1DuouC5s692eXsj+SpIQ1RvDUP+F4 GEyKLYjqEbjQURcLO10d3goeY55TO+19qJ0jTPNOl4BFCqtrvEQA3tXvt0i4Gi139lQW pcZUDkzb4mRxg6tXCVgKnhbdIoQtFtkpU2nE9Y7eLZ66iRy5FNUL5GtIF/XnIAcmSWG2 uGvw== X-Gm-Message-State: ACrzQf2bgkMVoYDIsaiSc2zzIcYz9SmpmDc+Tl+hKbo7d4UYi6d9jOm4 f7g9fWZuzFDUSOLonLxIaDQ= X-Received: by 2002:adf:e785:0:b0:236:5998:67a0 with SMTP id n5-20020adfe785000000b00236599867a0mr31650481wrm.414.1667819328598; Mon, 07 Nov 2022 03:08:48 -0800 (PST) Received: from felia.fritz.box (200116b826b04a00c13f470e37e07cb6.dip.versatel-1u1.de. [2001:16b8:26b0:4a00:c13f:470e:37e0:7cb6]) by smtp.gmail.com with ESMTPSA id f10-20020a05600c154a00b003a2f2bb72d5sm14947310wmg.45.2022.11.07.03.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 03:08:47 -0800 (PST) From: Lukas Bulwahn To: Alexander Viro , linux-fsdevel@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] nsfs: repair kernel-doc for ns_match() Date: Mon, 7 Nov 2022 12:08:17 +0100 Message-Id: <20221107110817.26398-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748835450680888697?= X-GMAIL-MSGID: =?utf-8?q?1748835450680888697?= Commit 1e2328e76254 ("fs/nsfs.c: Added ns_match") adds the ns_match() function with a kernel-doc comment, but the ns parameter was referred to with ns_common. Hence, ./scripts/kernel-doc -none fs/nsfs.c warns about it. Adjust the kernel-doc comment for ns_match() for make W=1 happiness. Signed-off-by: Lukas Bulwahn --- fs/nsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nsfs.c b/fs/nsfs.c index 3506f6074288..f5b2a8a2f2c3 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -254,7 +254,7 @@ struct file *proc_ns_fget(int fd) /** * ns_match() - Returns true if current namespace matches dev/ino provided. - * @ns_common: current ns + * @ns: current namespace * @dev: dev_t from nsfs that will be matched against current nsfs * @ino: ino_t from nsfs that will be matched against current nsfs *