Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp401995rdb; Tue, 23 Jan 2024 03:24:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkHisAryI4NZZ0WT4T1Ff7RmHykszJCXzTP9YrVuQAe8xuQkacfv4kxmVUk1AnYKzXeNQ5 X-Received: by 2002:a17:902:7585:b0:1d2:eb39:afa7 with SMTP id j5-20020a170902758500b001d2eb39afa7mr2931895pll.138.1706009041199; Tue, 23 Jan 2024 03:24:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706009041; cv=pass; d=google.com; s=arc-20160816; b=vBGvSiOZos34dT45SKlWzTher8ZG6fdEQ4KsTcZ40pXhirfibQYS2cMvth3LXT3Z/a xPgioQQv/uWBZpnDvOTCEzlUbfeM66upsnkF7zYmVGym5RDtNCWRhe72EL/6AWoYFt8W bXFe0wZxbbD5eobkO3gziituB41ynjhVq0yfvYKRovWBWxU+AFavz+GuLSe2q7TQRqQp H3vM8zjeIdsIN2ksF2T6aG9pdbgkC/1EK+FLLJ4sJJmB3bYS94PGr8KOpXGNMMJWD0gd lN8ujB/gt13xOCJW8q+MZGOd0sZDeFgXmPFtF24cEQrD6xK7eXEKUHnLGqUAzGb8M8Rf Y9QA== 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; bh=3IZ1picJ8kSIWKUpDdTkrsS1CXDAKSl/yzg+DV4FTBY=; fh=2OUCyawv763RJuh0tp1OY7aBUf41Q8m3nxrITJmYLpc=; b=GGTNk8DCtwFpis/K1ALYv2dmOU8mh7D9/z6JVwMYp1NOk6o8miur9LjrADD0uiLM1o WC7RG2usEoHwuXDkYUu9s4qT4PMslYTdCb8hfo7zNs6/wivARjlSIvf7v3ofZ8OVuceE 4aKAueiWUCXCL6CYJ6FCtzzADbGvshc9MzErjv0CBbbat+Q0PRaqprelQTIIRBjZFYgE fZS6fKcnD3NWOOjciTYZG76Q1zyq1cWgqAoABtxqTLsiqmcNdfHjPAxrV52zOuMwBPEx 0+GeiOPbduljcm7lMm2xD1qWw1W+X6uEPB+7EbwGCzTaoZLHuUde5AtRfyFffQ9q7I6Y akmQ== 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-35169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35169-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 o14-20020a170902d4ce00b001d75b61e27dsi2785215plg.518.2024.01.23.03.24.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:24:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35169-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-35169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35169-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 3CFFFB23C26 for ; Tue, 23 Jan 2024 11:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AA515F57E; Tue, 23 Jan 2024 11:09:24 +0000 (UTC) Received: from out0-203.mail.aliyun.com (out0-203.mail.aliyun.com [140.205.0.203]) (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 3CDAD5D91E for ; Tue, 23 Jan 2024 11:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.205.0.203 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008163; cv=none; b=HlaaWpnCHEhnI9YpdgXeXTF1w9NwvSxWGhlkrcjh3UfdLsoV36O0G4vnhDflD/mzXu3khB0SmT+Or2bmEs2FEHKj/OIlc58BrbXxviSYqYAQsVpYT0EOhexid77p2Z3PfN14YEfW7CJGADnqIGqDqisiHSroUig4U49hKGWtS+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706008163; c=relaxed/simple; bh=Z5e940A58gW1sYAm3DdoIAB32t7YxtpAzeJ2S0iFi+I=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=l/JG0N4Aa9/vAM1XZ3MU0fem22hj3IASjgSSpBVX+yWbnlyE5mN67Mpx+n+wMDVllrXOMeYrgLRvW+ptCI+6Y/1uozFTH+5Eu3pxzB3nhAnywISv9ARBqRUsmYnwanhwbms+ZTHRfxHyhoKZi68rsM9GA0Bo9T8JjD5qEkzG94M= 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.203 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=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047209;MF=tiwei.btw@antgroup.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---.WDCKThV_1706007828; Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.WDCKThV_1706007828) by smtp.aliyun-inc.com; Tue, 23 Jan 2024 19:03:55 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , , "Tiwei Bie" Subject: [PATCH 0/5] um: Minor fixes and cleanups Date: Tue, 23 Jan 2024 19:03:42 +0800 Message-Id: <20240123110347.1274217-1-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A series of minor fixes and cleanups for UML. Tiwei Bie (5): um: Make local functions and variables static um: Fix the declaration of vfree um: Remove unused functions um: Fix the return type of __switch_to um: Add missing headers arch/um/drivers/pcap_kern.c | 4 +-- arch/um/drivers/ubd_user.c | 2 +- arch/um/include/shared/um_malloc.h | 2 +- arch/um/kernel/kmsg_dump.c | 2 +- arch/um/kernel/mem.c | 2 ++ arch/um/kernel/process.c | 34 ++++++------------------ arch/um/kernel/reboot.c | 1 + arch/um/kernel/skas/mmu.c | 1 + arch/um/kernel/skas/process.c | 1 + arch/um/kernel/time.c | 6 ++--- arch/um/kernel/tlb.c | 7 +---- arch/um/os-Linux/drivers/ethertap_kern.c | 2 +- arch/um/os-Linux/drivers/tuntap_kern.c | 2 +- arch/um/os-Linux/signal.c | 4 +-- arch/x86/um/bugs_32.c | 1 + arch/x86/um/bugs_64.c | 1 + arch/x86/um/fault.c | 1 + arch/x86/um/os-Linux/mcontext.c | 1 + arch/x86/um/os-Linux/registers.c | 2 +- 19 files changed, 31 insertions(+), 45 deletions(-) -- 2.34.1