From patchwork Mon Nov 6 06:07:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 161826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2465717vqu; Sun, 5 Nov 2023 22:08:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdGVLdOCY70XjYPphv0F8JjNOoXFU+f2hw9K5xRIpZrHk4xz9VtPskMolSlE3em2rgdybK X-Received: by 2002:a05:6a00:1495:b0:6be:acc:8973 with SMTP id v21-20020a056a00149500b006be0acc8973mr27730356pfu.20.1699250885475; Sun, 05 Nov 2023 22:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699250885; cv=none; d=google.com; s=arc-20160816; b=sndiK5CGTsqKTezQeYhN4VKoHW17jCeu9xPKBZ54G5RlfIy602BcrN9CVzfoJ0rd2m s9hQVKsqYOG9cj0RwLDRJbbTegZIUvNwR2eif6EvZjdB4uzztGRh9kMU9ZDQwE8C2ibb gceOCZ7gPXOesTzOwI8OxAHVXJWhxp7SEULS4qjTmKXzEcY3p29Uuil/wpuGSjD0Z2W7 itWa1AV+XMlKyN4TJKsNm0CAhxNdl7pUH6kGHdm2PYLTSfZxvewp5DqIeoWziQBO9i9v BIFuqXCDEKlQSDxhZ71XjF9Xjy1ZXESjGkBV8PUOA1E7Oid1ryc7PGPkIyANzdQN4x+T QtTw== 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:dkim-signature; bh=f4oEJcN7tu7cszr0XCp5uXw/+bxFXjFvZY5/3ntOFSI=; fh=fieELk9QU/Yf8c+LGm1bvHRHJbgJMFlub3c3EW4LniY=; b=zKBXpNzxFyrOHBboLCSchHk0RnT0tUUXj/ZiYQbr5D8UEvs5lOG5oZn+H+UsyJun9e awsg71uRF0ukZIxwaMKsi7mv+5hs2EpAwGNFtci0nw89BCW218X8CkvmGs4GPQgtXY9c Tr9YZ/sbxFgJtxAMFhy1XuM3U+NBQXl1AfbxsLM7IWHSWoDTsi9CKAbvNhbSk7TkSsaF 4POkVMYLOF51HoWThEimdZfGyaPdh4gXxRsWcdmAKyAUMtQJz3VhCj8wxYDkxSxf2Fc2 LhTZ2nyNCEjKBYorhb14+ItC495lzUOclt3+e6g7oC57DyGQbwV5iljzFb8Fk9YmhM8c QXJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=HV03tB2N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id t23-20020a056a00139700b006c3a0206bf5si5839218pfg.250.2023.11.05.22.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:08:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=HV03tB2N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 55A1F80AD9BF; Sun, 5 Nov 2023 22:08:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjKFGHu (ORCPT + 35 others); Mon, 6 Nov 2023 01:07:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjKFGHt (ORCPT ); Mon, 6 Nov 2023 01:07:49 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2283100 for ; Sun, 5 Nov 2023 22:07:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=f4oEJcN7tu7cszr0XCp5uXw/+bxFXjFvZY5/3ntOFSI=; b=HV03tB2NPM/4Ou1NgJkJ9Q2mza r/frmObyK8sMoyBba+Fq+8w2rZjNidyRfxwuhbxTzhMDRpsx2Wbj/5gX2CDGr80NaieTK0+v59zT/ wNEKKOQNEHC6NWDyCiQs3n50NU1wbbJfrJTf4hPTRi1uamJkSXTTqWKG3VRzfa/3qFLMC6EGNSytk zLtvcj51w8jCdTjQSQR/WXCs8X2RG0LD+GXFZQFHMDpfdqusSidVQuC1Qtpr3zvUsdUzQ+MDD2cvi rKxWivsWUe1QzLCs89uSZurFqOZhSpJnIotVGNIwOTqZrKrTpt3Xs3MkHcXVOSMgp1BgToFm8C5a5 55+Xd5dQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qzsm1-00FvQq-1O; Mon, 06 Nov 2023 06:07:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Richard Weinberger , linux-mtd@lists.infradead.org Subject: [PATCH] ubifs: auth.c: fix kernel-doc function prototype warning Date: Sun, 5 Nov 2023 22:07:44 -0800 Message-ID: <20231106060744.10847-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 05 Nov 2023 22:08:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781793696195461816 X-GMAIL-MSGID: 1781793696195461816 Use the correct function name in the kernel-doc comment to prevent a kernel-doc warning: auth.c:30: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202311052125.gE1Rylox-lkp@intel.com Cc: Richard Weinberger Cc: linux-mtd@lists.infradead.org Reviewed-by: Zhihao Cheng --- fs/ubifs/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/fs/ubifs/auth.c b/fs/ubifs/auth.c --- a/fs/ubifs/auth.c +++ b/fs/ubifs/auth.c @@ -18,7 +18,7 @@ #include "ubifs.h" /** - * ubifs_node_calc_hash - calculate the hash of a UBIFS node + * __ubifs_node_calc_hash - calculate the hash of a UBIFS node * @c: UBIFS file-system description object * @node: the node to calculate a hash for * @hash: the returned hash