Message ID | 20240205114708.25235-3-tiwei.btw@antgroup.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp820591dyb; Mon, 5 Feb 2024 03:53:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEo+nfq3W0IFY6B2PCDPqk7MDvvS1b0va8+cHrcZu2dvu+jsB71Dl4LA0Tc56NMVNzpIy4h X-Received: by 2002:a62:ce86:0:b0:6e0:3769:eb92 with SMTP id y128-20020a62ce86000000b006e03769eb92mr2864683pfg.25.1707134033656; Mon, 05 Feb 2024 03:53:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707134033; cv=pass; d=google.com; s=arc-20160816; b=mX0nXVWmP0dLVMqmDIn2loqMUgmSv1rmbQRRVoGhZiPt/lBa/MGElhdxAKb05vMaNi I1RsblzuJvZ6pJ8rSUtyxozyFqn5aXapQO62jPpqxMg/ZUXllx9UM27LgeqV0JAZn0pT 3RLAWcBWf4y5kabFc802DzdX5CT1ZcOhAwez8dw97RoK3BpN1LrNSpycmaB3v0bE3QTL bCSFXIzm5DSh3FNexmTwjXTAbraBYpjLKGX85MMws1XS0PH9riVblXnGf64X1WoDMz61 G4XAnOPOvRQ4LIW5r+4fBI1S/cVtLbCn35ronA/+K1vwzxDTBFBwlSY6ZaJfoHemzG7T ZiBA== 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; bh=6wBb4qQBTjRG4qCKgqlX5rEI/gvPtNFtR103JaQWAfU=; fh=+mDGpLu/QkNxKSzz6D1neN9IVVUP84owHI7YGD5I4dc=; b=qN6hZ1Epmj75NcpCncPOHQ/Wku2ScI6UYhC0XLF5Y5PK0SRb+7BonfqBZWTAvfVJ+r inXeVRs8oijXCNbmMLup6wvlz9UrnrsVX/iODJ/B1XAmGrjT1IqpUI+tavzH1xX+zKdr tjtK5ZsNUZchSF9C3b6e7+YBiH81Xnq5EmLx1/14kMccC5HUcslh1WtSmqzGAqP7eXqf xJ/1mO+RsRMUAtjJD5tXdx8sFkQvptMiU0MlAmYkYogdRttpAgL8pqJ75er+bxOzGmuq 7RqgBRKCNMLrtggcZNsTHctNotbge0Ij4/sCB57BrMKx6SB+dcDMaODGicwZ0T3Ns5A+ Jhhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com X-Forwarded-Encrypted: i=1; AJvYcCU4MdgTV6rYOU/Fg7T8UZ88QiDqUJ7QobZF62cTrk5qvJPNo0DHCLLTomWQhrPjUQ4veOlDd/vY1WRMvCTG0L83uoLT5g== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bv4-20020a632e04000000b005d6fe985541si5810846pgb.293.2024.02.05.03.53.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 03:53:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52514-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7BCF428B00A for <ouuuleilei@gmail.com>; Mon, 5 Feb 2024 11:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FFBD1B959; Mon, 5 Feb 2024 11:47:32 +0000 (UTC) Received: from out0-212.mail.aliyun.com (out0-212.mail.aliyun.com [140.205.0.212]) (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 39FBA1AACA for <linux-kernel@vger.kernel.org>; Mon, 5 Feb 2024 11:47:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.205.0.212 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707133650; cv=none; b=pbcwER9ebHBseJweqqQ6dVpj+KLR2XXLGa5sNPB84dgSGrrbXAVuzG5u1HmDMeCtC/z9Q0jpEqjlGyo7kmOx4VkRp7sGhocrXStla9TmzB8nDIQNewMPxyXEaRO/+yA449DdmjIz2qTCIGz0Q9EBfjdNptgPL9d0Tun7527gnVs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707133650; c=relaxed/simple; bh=IPelaOlLNzUGstOhPXdkzDn7BzmoqqeZFdhJ5KOY6+A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eXsqZLvRgwlpHdENzkpSHT1GWlL19738y7KTx4zKldUdgNAOrKSIp48rADDu1s9/WmUh738+BlLRXld6vyJsB5F1Ujp7dtkMlqBwOuh9ZyefHXm6pPmnCmVA0npXo2fqzFeZRFlO0bWiMv3lHnKVyEtedWxMmpNwWZG49Mp+xXE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; arc=none smtp.client-ip=140.205.0.212 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047187;MF=tiwei.btw@antgroup.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---.WNt.Hm._1707133638; Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.WNt.Hm._1707133638) by smtp.aliyun-inc.com; Mon, 05 Feb 2024 19:47:18 +0800 From: "Tiwei Bie" <tiwei.btw@antgroup.com> To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: <linux-um@lists.infradead.org>, <linux-kernel@vger.kernel.org>, "Tiwei Bie" <tiwei.btw@antgroup.com> Subject: [PATCH v2 2/6] um: Fix the declaration of vfree Date: Mon, 05 Feb 2024 19:47:04 +0800 Message-Id: <20240205114708.25235-3-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205114708.25235-1-tiwei.btw@antgroup.com> References: <20240205114708.25235-1-tiwei.btw@antgroup.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790059776246534588 X-GMAIL-MSGID: 1790059776246534588 |
Series | [v2,1/6] um: Make local functions and variables static | |
Commit Message
Tiwei Bie
Feb. 5, 2024, 11:47 a.m. UTC
The definition of vfree has changed since commit b3bdda02aa54
("vmalloc: add const to void* parameters"). Update the declaration
of vfree in um_malloc.h to match the latest definition.
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
---
arch/um/include/shared/um_malloc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/include/shared/um_malloc.h b/arch/um/include/shared/um_malloc.h index 13da93284c2c..d25084447c69 100644 --- a/arch/um/include/shared/um_malloc.h +++ b/arch/um/include/shared/um_malloc.h @@ -12,7 +12,7 @@ extern void *uml_kmalloc(int size, int flags); extern void kfree(const void *ptr); extern void *vmalloc(unsigned long size); -extern void vfree(void *ptr); +extern void vfree(const void *ptr); #endif /* __UM_MALLOC_H__ */