From patchwork Fri Apr 26 19:41:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 792377 Delivered-To: patch@linaro.org Received: by 2002:adf:cc13:0:b0:346:15ad:a2a with SMTP id x19csp627214wrh; Fri, 26 Apr 2024 12:50:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWLQcg3hIYqNPrNX5M60R3JJurwhc1wRs4yed28polZI9o7w1KMtLQmyN0EvdV3sspO3zapvLiUdSeYKRu1dsU/ X-Google-Smtp-Source: AGHT+IGml5NYr2VUD6MYrT4jSa5knHC1ar+3R4rGyjwKdHDTjzz/j/JHGz1mMuG/K23r/jMX5Vix X-Received: by 2002:aca:1e17:0:b0:3c8:2ae6:4b1b with SMTP id m23-20020aca1e17000000b003c82ae64b1bmr3885620oic.35.1714161029503; Fri, 26 Apr 2024 12:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714161029; cv=none; d=google.com; s=arc-20160816; b=HsWvgdzDzh+DOyLGDhk6mjPaTMlAXU4Kxps+43RIKQdVyVtUOwUQFQqQtlYlWpDuFw CghTSklODevYj/vuxDHt+jQmOMRPpfAlKWpb2E/RDSJuDB4+cr5Hhw3Yfkgtvfj5bX+B Wml0EFIztBoA+iRPGFBppAONPWPuVDBYz903u1wZSV1QOnH44p6TItLGFdBebybgBeKh 9wtMgGjDiM43T+jsZy5+LlSaDN4cP/cSBCSTUJL1NsXUPVCyl7shxFeplGb58n32vQF2 KNZ1zzuA8uJDZEWw32164qJrg7IuNk7WKqTYWd5sYCVanscG1BJmf98ocThiOliuO6So ndqg== 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=/GRlD0UJ4FFPuLeyFAJhX+j56Axb9nXKO9LompOTbz0=; fh=OMbT1T5hoTkfta/x0LLgpfPG+4DgEN317JeNbS7XBiQ=; b=AdMUnnKJ1q5z2R71/L7Vc2ElYrhd8+8b84K2/1FbwJwAQFbhun3OjwaQecr2s+jauj Ee7Kjztz/WWHY6kP+NxHeNNDZhwegHSsJsQJKK1AUZQ/L6C5k1e8P+MdQ+9wyWB3TO37 dVxjZzezd3TRiY50iHwGlQj8tqhC2MNyxFl7xI/JYsk4nx9GXabHSS3lzjGwXi+c+Tca rrdnZZBfCF/hQJEhHDurN3xljU9lLg+rslq3GEvm59PbmLCI461QoE2a+KfZa0kvjM0J gyhdF+mMwR/H+MGygFG9yeNbFd1SJfrm8Q7xyCdtgVflI8RY/FlYIX1SlRMc1Jo0NIpA sQYA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aCjKQo9M; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l23-20020ae9f017000000b0078d5fd94411si19356133qkg.394.2024.04.26.12.50.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2024 12:50:29 -0700 (PDT) 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=aCjKQo9M; 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 ) id 1s0RTj-0001Wy-Es; Fri, 26 Apr 2024 15:43:27 -0400 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 ) id 1s0RTP-0000zM-1N for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:43:08 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0RTM-00032A-Bo for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:43:06 -0400 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a55911bff66so327391066b.0 for ; Fri, 26 Apr 2024 12:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714160582; x=1714765382; 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=/GRlD0UJ4FFPuLeyFAJhX+j56Axb9nXKO9LompOTbz0=; b=aCjKQo9M3jm32LjSQvYg+f346xUKK6bceDRnpmUqdQFHUqedoCivV6KQaYtJ4fy0q5 ETWAd0WK9383sVCaRxHMiLtlI15Eza9dO/jsDUV/Rz4BiI5nm1YU74UbeM2yhG6qSDj4 KtaLgMgpw1dE28I0vJ8OxZnwfoU5eqZazZWpM+Hwo61yr94ijJfNjg/PHJ1/zqGCoGgF zDvOUJkJY/f40lsxpd4xCyEeGUbkws4Z8+M+kPKOucwsBAwrotcLJDif/Wtv9ONYzM2s qCBYwxpgqj3ommy+jXbdtWDN3bYo3qDjO8sCrcK2QJOb61JuUTcVAchZ+BTK+CKWD3+E BCtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160582; x=1714765382; 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=/GRlD0UJ4FFPuLeyFAJhX+j56Axb9nXKO9LompOTbz0=; b=IoAhvjVLXFGrV+zbzZ0hHGuAS3uqGPKA0JLaardonX5y7yjVJj+PYnfsKzwMhjHVCi WZJ7kNSSCVb3RKf+YC6EF2W4odZzIV5OAW0Uw29duWxnLreAugoR1Tw329jFIjrQUCp9 caVvgiadEjYWDrjzNSHuJjI1PN6kn4Vblw9kV6fk/dBe+uKzI5jQ0vLlyucqn3t+xRxd RkI4TM/GFez8Ls2qH5bZlgmzAXhv1NoUqN24GXeDkbCgl082e3/1pjZBAl4Zsna5/O3T Xgy112O5E9N+ERfD0yWVHFPTsHtWVXWPr4AR/IpXFce6FENeQPmoB3110y3eH1L7X8P2 bv7g== X-Gm-Message-State: AOJu0YwjNvFSPplrnOkHOGPUk00jzBzyt1DRZ+kVF58uHXGU/kaZenTS jPN73LbQ9hlYIqU941Pjhn0aSzjCZi6me+jwRxiwt8pcNuVbEl3w6INHlXvcL4EVIvWc9brUX6g Q3g4= X-Received: by 2002:a17:906:17d7:b0:a55:664b:fa35 with SMTP id u23-20020a17090617d700b00a55664bfa35mr274955eje.6.1714160582240; Fri, 26 Apr 2024 12:43:02 -0700 (PDT) Received: from m1x-phil.lan (aul93-h02-176-184-11-147.dsl.sta.abo.bbox.fr. [176.184.11.147]) by smtp.gmail.com with ESMTPSA id jw24-20020a170906e95800b00a58a3b8589csm2615549ejb.21.2024.04.26.12.43.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Apr 2024 12:43:01 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Anton Johansson , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PULL 10/38] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header Date: Fri, 26 Apr 2024 21:41:30 +0200 Message-ID: <20240426194200.43723-11-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240426194200.43723-1-philmd@linaro.org> References: <20240426194200.43723-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=philmd@linaro.org; helo=mail-ej1-x632.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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Nothing in guestfd.c requires "semihosting/uaccess.h" nor "qemu.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson Message-Id: <20231212123401.37493-8-philmd@linaro.org> Reviewed-by: Richard Henderson --- 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