Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2245652rdb; Wed, 21 Feb 2024 01:19:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUNecP6cJjhRR2jB6Tp6w+n2wlpyFh1CHhhvjX4t77Yl/LVClVMcz0BtcE9n95bwZoOhIQK2j9ci5/3OJaRhSPnwlAJ7eqYosrRhRqgDw== X-Google-Smtp-Source: AGHT+IG4rrHr8BjUempuOhrK3hdUtBLdWMaEr48+Wfd+GdcL6/HIrKHxNLGihZ1kwN3FAO1r0MDW X-Received: by 2002:aa7:c746:0:b0:564:5764:a5df with SMTP id c6-20020aa7c746000000b005645764a5dfmr5911730eds.27.1708507189044; Wed, 21 Feb 2024 01:19:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708507189; cv=pass; d=google.com; s=arc-20160816; b=hk6S7X7+hCFmdQAjgx4bJpxHVYp6/wrVBDrXhUXegWH+AcKqVr1rxNecEr2CkLdbX0 wXn+kKC2bsLXnap7h/QcpjbOC0qGvYsYnPItFeGjCg2KvlrHWae6sdfbgqdXfvkdtGym ZRR3oDWp9Ba1Hrllj0Zz+GVSbifL5Lj7grJ8BxnhUrZF+bVqcLSjiIB4dvi7ENwBSxwi AiSf9MsOouinSj++nuV3XgNvqOs4+WbRYa67B3FIbUeFTMEfBY9qdPlt7a7SVuj6aEun l/uY50eAg1JEwMrHUZreTVDxQYXmp9QN71BF4K/IyE6TSUHMQvzNVI5E5NIaSaCigTNJ +P2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=H+yXYdlmM2cTVEG8BEGhhGpI8kjP2TWp0saBUxSR6gg=; fh=467TNuTqsB86ldxZXkvHi9Sk53GsBX8evzRLwM8b9v0=; b=zBnOLElk41HPjkHcvw76M0PdMGZz9DqCORnFSvBrO2bUgi+1WAj6uRTHckNZAk181W QamXqn9asG2Zs5FsHx9BK5tBbwu2FFqPplMwuCV+KiNc0NKgTrNVQdWQYao9C2ChfTn6 7OX7V8AW6XC2Qb5P2pVvgBNP8Phqlo4qhc3/WPd14AnzKF3eh+cFshIIYVBn50PQGWzm UqARNBIWmWKJsVE2fq4lQsw/D+/EwAHMrFALrw1cBx5d+fZ7bQnOnIq9pFjuzID3uDzb 0L11utw6jmmcnf40ZW5KobycfsPs1bGo9PKo8ai4hjqBB1nEIjqUrP9CjOGPo8e7TnIq mx+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=kGS90Qyc; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-74385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e9-20020a056402190900b00564350bf723si3895606edz.631.2024.02.21.01.19.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 01:19:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=kGS90Qyc; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-74385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C88E91F242CB for ; Wed, 21 Feb 2024 09:19:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C143A3EA8D; Wed, 21 Feb 2024 09:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="kGS90Qyc" Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F18823E474 for ; Wed, 21 Feb 2024 09:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708507110; cv=none; b=Hf0lVsGZV0Kimhgm+iCCr931e5g2A1huxHA9ci/41E8Z7THMo/YhRu1uB9jDXNj2cyy6X/Hi1nfgoMkDoBP/ZDNtY42WsW+uqM582ssGA7htCeAgvQzZ/cdNZ2WXDjFXKvZYRXSlZPw0qsEpCFtNs0pP/gGFwE5kUcPn984Wxgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708507110; c=relaxed/simple; bh=DjgY7bAZ9T8xEy3KDoP6aacTCgTCIWYCv072iKBc3EM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bUvuhSMHS8Ft+3073uFNSDS7XORVUc6E0Vkrho148oAV3j3mjtMHH7anEjdic5r2vzaRkNFjQZ5FbsXkO728lVI+0MqF79UsPsmdj/y6FXixEN1lzm06VFTH40qy53Z6KML7r0vj8GukhNR0AeOD1vZg1P3zvyK1KI0PRg6oquM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=kGS90Qyc; arc=none smtp.client-ip=115.124.30.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1708507100; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=H+yXYdlmM2cTVEG8BEGhhGpI8kjP2TWp0saBUxSR6gg=; b=kGS90QycrCo1qr4Qzh95aVh0fgyszTYUCBdZxhfhYcFDDvcVFoQ6yF64mKFdfbJ+8AwmFYFk4TxP2sg6ipvga/DE/9WpxCw5zMNPZwcU9x7FKrlVV1vRXFfAcmWzyBnnd4Tcr/YSUipdUmBofHxNoelCWkNTf65bGddQGQkXD4I= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R891e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W0zOZwD_1708507098; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0W0zOZwD_1708507098) by smtp.aliyun-inc.com; Wed, 21 Feb 2024 17:18:20 +0800 From: Jiapeng Chong To: msakai@redhat.com Cc: dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 2/8] dm vdo: Modify mismatched function name Date: Wed, 21 Feb 2024 17:17:30 +0800 Message-Id: <20240221091731.7007-7-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20240221091731.7007-1-jiapeng.chong@linux.alibaba.com> References: <20240221091731.7007-1-jiapeng.chong@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit No functional modification involved. drivers/md/dm-vdo/slab-depot.c:2042: warning: expecting prototype for vdo_find_free_block(). Prototype was for find_free_block() instead. drivers/md/dm-vdo/slab-depot.c:5036: warning: expecting prototype for get_depot_slab_journal_statistics(). Prototype was for get_slab_journal_statistics() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8274 Signed-off-by: Jiapeng Chong --- drivers/md/dm-vdo/slab-depot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm-vdo/slab-depot.c b/drivers/md/dm-vdo/slab-depot.c index b11972a8a08b..a85d2983800d 100644 --- a/drivers/md/dm-vdo/slab-depot.c +++ b/drivers/md/dm-vdo/slab-depot.c @@ -2029,7 +2029,7 @@ static inline slab_block_number find_zero_byte_in_word(const u8 *word_ptr, } /** - * vdo_find_free_block() - Find the first block with a reference count of zero in the specified + * find_free_block() - Find the first block with a reference count of zero in the specified * range of reference counter indexes. * @slab: The slab counters to scan. * @index_ptr: A pointer to hold the array index of the free block. @@ -5026,7 +5026,7 @@ get_ref_counts_statistics(const struct slab_depot *depot) } /** - * get_depot_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot. + * get_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot. * @depot: The slab depot. * * Return: The aggregated statistics for all slab journals in the depot. -- 2.20.1.7.g153144c