Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp405945rdb; Tue, 23 Jan 2024 03:31:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFT3FjPpW6k6ge1QD7jbBrKwj2KxYXmrMGkyIt0larKamEXlqk3giBggFbpcoT2CEMZrctC X-Received: by 2002:a17:902:6b43:b0:1d4:3314:d3ec with SMTP id g3-20020a1709026b4300b001d43314d3ecmr3037160plt.46.1706009503239; Tue, 23 Jan 2024 03:31:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706009503; cv=pass; d=google.com; s=arc-20160816; b=EvNeh9n6Rz5FzMZVEQfaZIYyJF31MXQguAHOQFZyYU3rzS0b2Wf4j5fSbckiCYWntt NOfDr8KuNYn41pY9+R71lc4SCJBMnoKZaaQM5TrQ/dacFIs4kivqbmVRC9K+k6h2tKko S0+hi3JXMg465/jpYpuxwOD0ynMFTK5fW2bqHY+WdhPVH6LFZorBtWTxBaGzk+ENANuO Fsn1IfL86j1lRjXvU3MDQMdrm5VFFPRAbMIhFGtU2gUN8ySk/kyZ7Z6UzvzgDNShKwVz pEw6PHetxu3LGrx9S79Hesjid2VONimlKupoDg9qFMv9TuWJqNGRw8efkQa/+zEkxt3s FF5A== 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=2OUCyawv763RJuh0tp1OY7aBUf41Q8m3nxrITJmYLpc=; b=f3Z6LZOFwfsfMC6H8uiMpslpO95xQHw1AGbrrLUYgm0OaaSP5goIXz5gVPNvFYiO+t kUXYIWFZ3L3PRPkcIZ06BcJfixnqcaeBOBpb7ZNbAa+DwZMHvG+xGEwbCRqEWCWgFtv8 gY9Ub9o9dqh86U7MqwCn8Wec02Ed7eMEmq/Gh1k8MXXCJooXfyaM6YDhlQZRiJbkG0Ma AwFakKX4Mpc2QKQEJF0kuCWNGEwpkPT4Dh2NvNgK8N+NtlE9UEzfvD8kxOzR2mJTsdjm J6e52XIGURerDEtiIFQ0vnip1BkPVyzkohc4z7I7GqbS4XwZuRahxN11/iYALz+wLiaa zzuA== 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-35185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j9-20020a170902da8900b001d76f4fca54si842028plx.591.2024.01.23.03.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:31:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::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-35185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35185-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BC5B2B25A78 for ; Tue, 23 Jan 2024 11:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1A5D5D900; Tue, 23 Jan 2024 11:19:35 +0000 (UTC) Received: from out0-218.mail.aliyun.com (out0-218.mail.aliyun.com [140.205.0.218]) (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 729EF5C8EE for ; Tue, 23 Jan 2024 11:19:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.205.0.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008775; cv=none; b=GBeFsBgz8ZjGcUWW84c+u9kbTlrJqAC7DBmb1JOiM6Ignp0Ve7aW/BG1qiEMr6zQ4HetZtAWWZN/roF0nLiySz07N9iE3wl9MmpvD8RrcHrv5HDoAL9Ef+ePcyslaVZcemz0QHkqsqZHPvJPu023yfjSCV7OI3O8B8RQZhWWkU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008775; c=relaxed/simple; bh=IPelaOlLNzUGstOhPXdkzDn7BzmoqqeZFdhJ5KOY6+A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ThW3C3S/f5vYDBV3YGzU0z/P2qE/Tn5PhltSReoXDRMDoCd/pMiNvR9GaJRA/uZd9seF0G9QFPEhq0BdGWVHX3uyJg8JQxlDMfoWnzVBnvTVPUxLLTnJX2vYZdA0OX4u/lrxSMaxgtOWVhi+4ij12w3N3Pqqjoag6jzK5k9BszY= 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.218 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=01201311R571e4;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_---.WDCKTjv_1706007836; Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.WDCKTjv_1706007836) by smtp.aliyun-inc.com; Tue, 23 Jan 2024 19:03:56 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , , "Tiwei Bie" Subject: [PATCH 2/5] um: Fix the declaration of vfree Date: Tue, 23 Jan 2024 19:03:44 +0800 Message-Id: <20240123110347.1274217-3-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240123110347.1274217-1-tiwei.btw@antgroup.com> References: <20240123110347.1274217-1-tiwei.btw@antgroup.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 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 --- 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__ */ -- 2.34.1