Message ID | 20231212123401.37493-8-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1875657wrs; Tue, 12 Dec 2023 04:36:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+0kMX6sgvoHMUEm8DOlXGe7H7DkaE6yyx8/4Qfai95yOb9CJ4TGA8lxeEeGL7mHxHW1n8 X-Received: by 2002:a05:620a:2a10:b0:77e:fdc2:90a7 with SMTP id o16-20020a05620a2a1000b0077efdc290a7mr7049933qkp.91.1702384583410; Tue, 12 Dec 2023 04:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702384583; cv=none; d=google.com; s=arc-20160816; b=CsSVkhw2fRDUyBVdETityqOgjagbPyZYr76i8iDsXzbZQQxZpYzI2Fma5fHqvhruBy hCFqXADiHmisSHKgHW8icy3xRnzSyfNFRxGg5kb5fsVcf/JkRR7klqFxoK5r5yVAolmJ 7xVNAMJFykUZTaB/zJmnznR7ibX0pTe3rOq8DOi5DhrY+qlFs3ZslqbOnZ0jl8h5u859 8K58Y7r5dNzd6nqu6/MkbVmYWkUdRRUfp8acbriaSClNryKn16cam+gaig46jAy7YKAR 3PhWma1mM/QV3mVqM9Vje8IvAxXyQEUtpE5SyaWw1QpiqqC3dCW4/rKikXWEGFd0jjol 3wLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/FjRv+vnD4PJf/d4rT729kMYrO2SSxTsxM5m/jedirA=; fh=vlFEGdij83GYetLrOUaCnR04sbYRvtckD5L7fw5192c=; b=DO2ucmOm413fXIcfR2SbziRH1moPKdM78avTt7jHcp67Zi5FnhZv7nIRQSiUNgn7MN BV+Nu3WF97yw+LnztYKuF9JMvtuw335PO998jmIWvZyGMn6GW6mH3xSVc/uWjayf3v8J o4FiWL6IRXmjWivZknCsQCJhIBebUUR65YabTPgqDpxCczS/FJK2ZCxN7OaTQQCf81La IDwM+apanpfSihLEZ5obpJiaq5T6ufrP3oZMG4Kl6hV5IaLWR/t072NOz8yZ0TIY17qr /dnKb1wgqBXvZ90bHId/r1fVgqoMu5L9d882O3NEKku/+UMj3RAqIqa1mmGxY+Wpro0v +ifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="onBrAB/Z"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id q26-20020a05620a039a00b0077437335298si9869768qkm.765.2023.12.12.04.36.23 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 04:36:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="onBrAB/Z"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rD1yb-000871-33; Tue, 12 Dec 2023 07:35:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rD1yV-00082t-J8 for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:01 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rD1yT-0006mY-BI for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:34:58 -0500 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2ca09601127so75167691fa.1 for <qemu-devel@nongnu.org>; Tue, 12 Dec 2023 04:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702384495; x=1702989295; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/FjRv+vnD4PJf/d4rT729kMYrO2SSxTsxM5m/jedirA=; b=onBrAB/ZaIb3ARiQhlOWwn2lH3QcQ8yMBCnmlSn0eUoxt6naqapSRhl4FqxMFuVY9P ZiAbVKlUX8xPa8AIFB7WWTAggHWG/lRXA8iZaPqicxNG+g7FH0kV+FEwSs0mKz2xzGRC UhRrdf2e0azr94sHFNyiBMZVnyEMT1sicrxaRDETNSikdBOq9UVf4jI4WYM6+f7r4e3w sDZKxuLCueUI48kbBk5zWFakTzE+gE/3khADzJPbi3hTltJnWAWA6ilxyZRo99hveCfW anc002/M2bCqDY28gj2s2qIHTVOGEK6AET02ppoOrCp/3/YTox9XKHAgdHgL5jRHNPl7 GXVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702384495; x=1702989295; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/FjRv+vnD4PJf/d4rT729kMYrO2SSxTsxM5m/jedirA=; b=GTariVnGsF55tR76Inwix9IX1/Y0VrocGKJsZv+CaeeEckEjHcE3C9AabbQSKxEeik 47KUy8FaGOfCraEB7N21B6/KTLYLCszXXNuwI5EiOl7beKJSkWxAkhr6FxustwlGKhLl pk2kni8EJ7NETdSyNkwjs7JrwlEgg/wNmZ2iAw090gOIRRQn/uUaZeDfDS3dcushgaiU 4yD4AZw2ufplrAkN2TE8NST6+M2XrMDg6R9JowXLiPMMIeruqTwD5cilNujo2zaNBrSc cqvpQyX2rv9nI0mYUaNTELJOOx83ULHXWkIAjNxIAQ7SLRiOdLIfQCZ2YJYY1Nfd2BAT t35g== X-Gm-Message-State: AOJu0Yy7qKjJ3bGbDG1P/WANJtS/I8BvOV1wBk4eGqp4FXQWVwqLsFMA qE7E4+NcKERk/D1Zi6gJHnR2C0Vr9XObcPTDj4YESA== X-Received: by 2002:a2e:870e:0:b0:2ca:23e6:7373 with SMTP id m14-20020a2e870e000000b002ca23e67373mr2252314lji.90.1702384495204; Tue, 12 Dec 2023 04:34:55 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id bt13-20020a0564020a4d00b00551d6d51401sm42198edb.53.2023.12.12.04.34.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 04:34:54 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Claudio Fontana <cfontana@suse.de>, qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, Richard Henderson <richard.henderson@linaro.org>, qemu-riscv@nongnu.org, Brian Cain <bcain@quicinc.com>, Thomas Huth <thuth@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, qemu-arm@nongnu.org, Manos Pitsidianakis <manos.pitsidianakis@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Anton Johansson <anjo@rev.ng>, Warner Losh <imp@bsdimp.com>, =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH v2 07/23] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header Date: Tue, 12 Dec 2023 13:33:43 +0100 Message-ID: <20231212123401.37493-8-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212123401.37493-1-philmd@linaro.org> References: <20231212123401.37493-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=philmd@linaro.org; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
exec: Rework of various headers (user focused)
|
expand
|
On 12/12/23, Philippe Mathieu-Daudé wrote: > Nothing in guestfd.c requires "semihosting/uaccess.h" nor "qemu.h". > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > semihosting/guestfd.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/semihosting/guestfd.c b/semihosting/guestfd.c > index 955c2efbd0..d3241434c5 100644 > --- a/semihosting/guestfd.c > +++ b/semihosting/guestfd.c > @@ -12,10 +12,7 @@ > #include "gdbstub/syscalls.h" > #include "semihosting/semihost.h" > #include "semihosting/guestfd.h" > -#ifdef CONFIG_USER_ONLY > -#include "qemu.h" > -#else > -#include "semihosting/uaccess.h" > +#ifndef CONFIG_USER_ONLY > #include CONFIG_DEVICES > #endif > > -- > 2.41.0 > Reviewed-by: Anton Johansson <anjo@rev.ng>
diff --git a/semihosting/guestfd.c b/semihosting/guestfd.c index 955c2efbd0..d3241434c5 100644 --- a/semihosting/guestfd.c +++ b/semihosting/guestfd.c @@ -12,10 +12,7 @@ #include "gdbstub/syscalls.h" #include "semihosting/semihost.h" #include "semihosting/guestfd.h" -#ifdef CONFIG_USER_ONLY -#include "qemu.h" -#else -#include "semihosting/uaccess.h" +#ifndef CONFIG_USER_ONLY #include CONFIG_DEVICES #endif
Nothing in guestfd.c requires "semihosting/uaccess.h" nor "qemu.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- semihosting/guestfd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)