From patchwork Wed May 26 23:46:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 448324 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2b0d:0:0:0:0 with SMTP id gc13csp6045729ejc; Wed, 26 May 2021 16:52:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+LzJ+nNSBwmdsAtQGL9MN+qekDjG59ItBH1TrAqUT3gBlQRW5v1NzmnujEkp/9cG4N4FP X-Received: by 2002:a02:3304:: with SMTP id c4mr712942jae.68.1622073148745; Wed, 26 May 2021 16:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622073148; cv=none; d=google.com; s=arc-20160816; b=tty3U/oqX4Gf9cM6tK+Lg8kdFAdC/0+rJbqlpz/h2sm24k+646oNDWvoWbie6BgSbI a88DzChoczQDyWCxIZEgPPaTrAbd+0WNa3miiVHfkX7gztHW0gJotZZRr7en3KekqBNH BqfMpdnkN4DT1c9C4uqZljAqvJtcl0e7wF9jSrITYtxDkwhPXN9nUULNg7GATEMboe+5 tQaC63RmeRPP/ftXyASFGPIGjldNg2vxH3lq5pruKhlFK1VVwO3Ke2gLTWJqHTlOnIrj y/AbKekslkYqyJiAMxAVR5UKQXQ3K3PFvRQPaz2HmkWvPdNWyhZYwpYtlECQ3TmW37mk JZLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=dWI9mP5oW4fro3AiRaLHN8aGTJl30ssHDjRGYrYCC60=; b=bhEz3i7/i7wcyoSMzIOTN9jPSxkVUnkOOKNj/oIg1axO0hc/F7Di0a4B55QTWUq24W zbuQ+MT0gpdCDFgNslMQRDnXcGW0IhezA733uOZCCTWh9E0cP6fPO6VwrAtvfYtZy9sE z1ST2dvQ9Av4FNSRv1Yr3qBeaEtwj5SFeXAHpTt6YTzbT9jxooXzdBhChHE9PG11mFA9 8ktDHWnw+ECKzWPK5cdK2O1T3SPLdIwtSz7rIl48GnmSyxvA0Lvf90AvT9Op+e0Qz4AW enKKIUzQh2eF+ZNKVUdeSm9G+fhwpFd5zf97NS8wKx6dmegOD64OTUJoEesAYqag4u7a wkHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tFrWAlV4; 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 i10si549816iog.60.2021.05.26.16.52.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 May 2021 16:52:28 -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=tFrWAlV4; 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]:35986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lm3K7-0003Sl-VI for patch@linaro.org; Wed, 26 May 2021 19:52:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lm3FH-0005bi-VV for qemu-devel@nongnu.org; Wed, 26 May 2021 19:47:27 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:33550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lm3F9-0004Tl-N0 for qemu-devel@nongnu.org; Wed, 26 May 2021 19:47:27 -0400 Received: by mail-pf1-x435.google.com with SMTP id f22so2239362pfn.0 for ; Wed, 26 May 2021 16:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dWI9mP5oW4fro3AiRaLHN8aGTJl30ssHDjRGYrYCC60=; b=tFrWAlV4z3mgHCOLJOoR1DvLBkSAGfqhc2p35VCH5UFA9iznA5//p7qobSd/4R2lFt FYxSLfvaZ8LC8bi5y2hpSPPN2/rJGjn7dA+zjvi3D6AokO+kbCE6LZ+6mL5x8EA3SvOH RpdmcvkOCuJbFIfkcDK0glplJym3LsJnUM1twsjRLPcnLDRxGjvJt/psg+40tHjZyWZ2 4Ot7XvJr9oL01JTmrCfyZjmkcb4OmzN6PZSAb0sEqZHXtNOc8xnxm96xoi1HFnEz4nsu Y/7eqOgveLPyEjKUa16//V2J7fbuKFj2dVuE8WSOksaIrT0RaPQasVxp6E1feJVnSPQ2 4h2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dWI9mP5oW4fro3AiRaLHN8aGTJl30ssHDjRGYrYCC60=; b=ap7X0nsPclwRz/myihWOlnahMSvZMJAfOEIYqEa9a3ji8EqdUmK0utntqQgr1S+kkr O9eE6SynRayL3wEecL8cYpGuSGCJcyd/8Hz+Ij4gpf9xHOw1An2skLhrKO0f0MhzZaUF pFZHRHwj8l+o3veBvBd6Mb+sO0WmLQeB43YHtHRTRvAfU1uT2xF+YJY8FWRuGTsTbFeq Rw/4kffMWyE+bMlAJKZWBHVSBjfDnFTAgdGGG8W6uAQ0JVK6/ASqACQTd0ZY8W68EUoq 1TH5/uZfkCsupFuInMNMbkoiImRzGOuH4wH2zUVETce7rGeqlHFXjgT306XvVC+gp41H ipBg== X-Gm-Message-State: AOAM533cUR50zdH6lMM6a5m6PCV0TyO+U0IWujIi7BNqbKfiu9oTnVBD sxzxDuiskUq/QOxSTKkUmtEbkXPtW3XXKA== X-Received: by 2002:a63:974a:: with SMTP id d10mr1041992pgo.180.1622072837868; Wed, 26 May 2021 16:47:17 -0700 (PDT) Received: from localhost.localdomain (174-21-70-228.tukw.qwest.net. [174.21.70.228]) by smtp.gmail.com with ESMTPSA id g13sm285355pfi.18.2021.05.26.16.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 16:47:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 06/31] exec/memory: Use correct type size Date: Wed, 26 May 2021 16:46:45 -0700 Message-Id: <20210526234710.125396-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210526234710.125396-1-richard.henderson@linaro.org> References: <20210526234710.125396-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Use uint8_t for (unsigned) byte. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210518183655.1711377-7-philmd@redhat.com> Signed-off-by: Richard Henderson --- include/exec/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/include/exec/memory.h b/include/exec/memory.h index c8b9088924..175d7151a5 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -2305,7 +2305,7 @@ static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache, } static inline void address_space_stb_cached(MemoryRegionCache *cache, - hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result) + hwaddr addr, uint8_t val, MemTxAttrs attrs, MemTxResult *result) { assert(addr < cache->len); if (likely(cache->ptr)) {