Message ID | 20240123110347.1274217-3-tiwei.btw@antgroup.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-35185-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp262476dyi; Tue, 23 Jan 2024 03:20:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1GUjMpFj7c7KPD7+RU5px3kL/RqztKZ2Z3EGcRThjYjF3NdwEkcipsrM2M8UxluZJ0aSm X-Received: by 2002:a05:6214:5186:b0:686:c31:bc0c with SMTP id kl6-20020a056214518600b006860c31bc0cmr882381qvb.13.1706008815201; Tue, 23 Jan 2024 03:20:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706008815; cv=pass; d=google.com; s=arc-20160816; b=dAWUMIbcAHcBMzwZgWsrcOejFcc0w04lF11icMNujuK5FIFlZrxIeOpPdD51mWtflP lls6K/xpUBUuwc5p52ixbgo3Qj/OGhdH1NM2AVPe9quRJmWk4Un7AwG2DbJ4X1D3j/9+ aN7rUIHIgjHZcmI5aFJkZpXRP4IsaNVu/RPBcFvx4EfG8/tLhV5qE3D7uYn3DoRAfwy4 ktXxCk+2lOaw0UEksZfE1d/8tg+xXBrwEWZU9D4PKDP+bxgK3I562BN/tttLuHwabryS mNPfQJd54/Y/YwIIVXy1Y0lfBIjx3tNoHRFHo27o2vD+yrRfRLZrSWCDN8u4+J1mqUE7 aMag== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35185-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m14-20020a0cdb8e000000b0067f28704aacsi7708838qvk.565.2024.01.23.03.20.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35185-ouuuleilei=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; arc=pass (i=1 spf=pass spfdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-35185-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35185-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 05FE21C2159E for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 11:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9B385DF12; Tue, 23 Jan 2024 11:19:36 +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 <linux-kernel@vger.kernel.org>; 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" <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 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: <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: 1788879899518347269 X-GMAIL-MSGID: 1788879899518347269 |
Series | um: Minor fixes and cleanups | |
Commit Message
Tiwei Bie
Jan. 23, 2024, 11:03 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__ */