Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp839329lqh; Thu, 28 Mar 2024 20:01:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2bYx6dFlTdBNJ5Daf696Tr6FivIrOqxRqx8oMt7H3djEL3mlD3oqPjrJ8twuasKeT3FuuQojbWYkXMQ7eJVO2TtmkHVI02BmOKqKq2Q== X-Google-Smtp-Source: AGHT+IH2pCT0pfz7y5V9mC0npMxCDUMKBrg9LFLt9iDFeZEceTlsyM0a461vKcmWpiyy76iMjkDl X-Received: by 2002:a05:6808:1287:b0:3c3:8a48:b7eb with SMTP id a7-20020a056808128700b003c38a48b7ebmr1210032oiw.42.1711681298044; Thu, 28 Mar 2024 20:01:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711681298; cv=pass; d=google.com; s=arc-20160816; b=hvexZ5N45LL33Y5Bkjo9IvDGCgjgwMymv+OGMqWc0yM6DujM7fX7IOkt7w4Ya8yweM h6T0+mTpmsyAYmwqsan1oVxYhTWbIKtAnTruYz82zMtY8PE3IPx0jfvHvTXNM7mGQTVB CSh/VOD8NYTJlaGzdmadA4EHEDKYocACtNk6np9FDRLFTyNPYTVzj10SWOVKPSR1c7gM o8vKVgpJcbDuKzCXiMUJttlyTHd+B5Trz1urA/bvG0hcvy80klJjA4OpxnZFLNs69I/P z2aOawrX1FhVW68vFPdzcke6flDo464FDAudDTZrGzZgIO9wWpF9PyAa/V9ceakeGec6 a11A== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=vrxKUk1S17HIEtbtDU9RXj6Ll9EGFBccFdXnmENZ8tg=; fh=l079960hpVPLLLVUoeI37asO6MgykqGulxbRYLiPwy0=; b=CcMa050+A+wXVtHQz2/SO/ROXhgWMYzjP4gQ4mPScYQbvXOsxuKsTMo1+7cEWeVRJZ JfSV+akP5YhxLE+OOn8WCe+i3xdHBk3Vl3N6PH0n9lEsNhhBJDmUQ01CmflqpfPQo/VG SycPDoWfZtsI2zh6B5VbeQJ4uQ+QlNqP6QjMQ7n0M/GMaNCWhyU1BKDFke/ZCIOeAXuW NVCDd03VrFGwJqgga/883uM6IYNPpG4vwBlyvC1piNAJNXlpLRJxMi0tPmqXKiJrrDsF ngjEvtkQ2xPKTFPGh8z+X2J+GUjx78jlk3lt649QOi7ni/vTREk2ZEKHFd1oIkzMuL+H 404w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=OqpMA345; 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-124071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124071-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y7-20020a05622a164700b00430cb71cad6si2876065qtj.384.2024.03.28.20.01.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 20:01:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=OqpMA345; 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-124071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124071-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BD1991C242C8 for ; Fri, 29 Mar 2024 03:01:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B131376F1; Fri, 29 Mar 2024 03:01:32 +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="OqpMA345" 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 6607637160 for ; Fri, 29 Mar 2024 03:01: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=1711681291; cv=none; b=SLKl/w9zhMpHQYdrD2LubjaJUnTBLm5jIsCSKyAho5YuI3SR2nMvuTGcXzmrikWJmyy1FYkWYdoGMV/GVg96EZL9E0AygSGA6FV1ifNqR9sGzQON/XYY0sg47Jy88bVNRcWhkp20Q0DbIkEgQWG3PJX1a+a5s18QSVbuIDumELE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711681291; c=relaxed/simple; bh=H8gUOHQf9TsAaH1yq1L8GUK6KvmmDdkD6x4q/6VURsg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=brR8e6nxsyMnpEO5BOZuEV2QjLaYVrba7JDlgF/rK+npDEUhV27cALdIIRSKVaHMhPT619Vgis+SAoBMmVz+S7mQmUp83dFujclG/WzI/Zb9s4JLPafu4Xzt3KVlU2E43c0/+9SZTYMenOZqe/jJ67o0reiqx8Dxcek8TjejXI8= 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=OqpMA345; 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=1711681286; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=vrxKUk1S17HIEtbtDU9RXj6Ll9EGFBccFdXnmENZ8tg=; b=OqpMA345hsnou4xCnAPP5JsPGIVlInaxNh/bjWywqB0joDsRV19jSJUGcyHAP6nYwd19cQvxjnlQ0XaBOLKjdgdFwGhj86Cltvvnn4vhxDrfVKGxMJRkh46ybGL4lM8qSiwHkNKfzNBaX6TUuFBpPS3GCoMO2uw3CXzPIu7OUkk= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R451e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W3V8Nrx_1711681279; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0W3V8Nrx_1711681279) by smtp.aliyun-inc.com; Fri, 29 Mar 2024 11:01:25 +0800 From: Jiapeng Chong To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] mempool: Modify mismatched function name Date: Fri, 29 Mar 2024 11:01:18 +0800 Message-Id: <20240329030118.68492-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c 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. mm/mempool.c:245: warning: expecting prototype for mempool_init(). Prototype was for mempool_init_noprof() instead. mm/mempool.c:271: warning: expecting prototype for mempool_create_node(). Prototype was for mempool_create_node_noprof() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8666 Signed-off-by: Jiapeng Chong --- mm/mempool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/mempool.c b/mm/mempool.c index 602e6eba68d3..4fa7c78fc409 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@ -227,7 +227,7 @@ int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, EXPORT_SYMBOL(mempool_init_node); /** - * mempool_init - initialize a memory pool + * mempool_init_noprof - initialize a memory pool * @pool: pointer to the memory pool that should be initialized * @min_nr: the minimum number of elements guaranteed to be * allocated for this pool. @@ -250,7 +250,7 @@ int mempool_init_noprof(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, EXPORT_SYMBOL(mempool_init_noprof); /** - * mempool_create_node - create a memory pool + * mempool_create_node_noprof - create a memory pool * @min_nr: the minimum number of elements guaranteed to be * allocated for this pool. * @alloc_fn: user-defined element-allocation function. -- 2.20.1.7.g153144c