Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp374710rwb; Mon, 26 Sep 2022 21:05:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6q9pExQuOmlN3qKc6pehrT2MgjYwzNNvwFWJwn56KG/4GYHTBGpbi3835W39CwUqpDwd0d X-Received: by 2002:a17:907:d8e:b0:783:a4f0:1052 with SMTP id go14-20020a1709070d8e00b00783a4f01052mr5845653ejc.41.1664251533881; Mon, 26 Sep 2022 21:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664251533; cv=none; d=google.com; s=arc-20160816; b=WlmIwhRMbP79Y8u6e9K+LkoPoA03UoErm8Xtz9/6Z6Dlr88S+17NnKF3JPKgbI803s twiI9JAA3iPMWwMzlywWNr2LApMuQHsrSb6F40yms3ektC7B9Hpz2neSu1eyunKwJlVA D2UQn5bdsgiPDn/JIK0LNfl1u9iNA2FVmeOJN4QGdgbM7PDz26okllmj5z+b66cgxVzR sJEVocztnGo2rud0vC/t+B53+FABllAq2UyCuqfWlEFW97fBNlockWzY7uU1sgb8PXbz 1BksYVQNV43OVBaMClBjAcQeIdXXaQmtPqfM/4uPaOfaKGmb9e12UW/YJTPzOlmp2S/W mYpw== 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=cJLqlgDJXvDl751JshLpOa/BpQiFLQep9WGS5lRq1QY=; b=sA7FAukBrIYY7v7Y668S4rYbyZ1gPwimmtCw+3UQq89gzykzGY0C4gyKyi2OwrRR1j iASKI4nW/wAZ6wo2iPV0/EVL5LHlj11OFJKnosKJaWuKzfJ2gkJd4hpm1hS76VNBm9b6 Cs7WsIZPdYw8+weSqzxxKsERf0rOvPHR+aSrdvFxAo5pLPeoG+SfeYKJXVYsAuBcMODn xPUUSELu3VmcNZ8VC+Sxahct8z42vJVdygnCqAyoVNJom4oahlVwxUDY0L8WUMY2oL1v ykqoiShnk3CyrxClZJE2DkvSlQVdaHgq54g+UGdBgBwu3w6UzoLjFUk0lxiEtHM8i4VH igsw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020aa7db07000000b0044eb919cd29si460777eds.161.2022.09.26.21.05.06; Mon, 26 Sep 2022 21:05:33 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbiI0D6O (ORCPT + 99 others); Mon, 26 Sep 2022 23:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbiI0D6M (ORCPT ); Mon, 26 Sep 2022 23:58:12 -0400 Received: from out199-7.us.a.mail.aliyun.com (out199-7.us.a.mail.aliyun.com [47.90.199.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70AF85F7E7 for ; Mon, 26 Sep 2022 20:58:10 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R971e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VQq8mOj_1664251084; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VQq8mOj_1664251084) by smtp.aliyun-inc.com; Tue, 27 Sep 2022 11:58:07 +0800 From: Jiapeng Chong To: richard@nod.at Cc: miquel.raynal@bootlin.com, vigneshr@ti.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-mtd@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] UBI: Fastmap: Fix kernel-doc Date: Tue, 27 Sep 2022 11:57:58 +0800 Message-Id: <20220927035758.46804-1-jiapeng.chong@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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL 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 drivers/mtd/ubi/fastmap.c:104: warning: expecting prototype for new_fm_vhdr(). Prototype was for new_fm_vbuf() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2289 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/mtd/ubi/fastmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c index ca2d9efe62c3..28c8151a0725 100644 --- a/drivers/mtd/ubi/fastmap.c +++ b/drivers/mtd/ubi/fastmap.c @@ -93,7 +93,7 @@ size_t ubi_calc_fm_size(struct ubi_device *ubi) /** - * new_fm_vhdr - allocate a new volume header for fastmap usage. + * new_fm_vbuf() - allocate a new volume header for fastmap usage. * @ubi: UBI device description object * @vol_id: the VID of the new header * -- 2.20.1.7.g153144c