Message ID | 20230113141126.535646-26-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 28180159ecf38d097475a5429474a4be9d2a24b8 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp234934pvb; Fri, 13 Jan 2023 06:31:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXRfP/M6TsxW1ZnEudyEA6J6mLAg3BzdQ94CVHgFzuRx8EOqObSu2W90fiisRHFx4x9cxC X-Received: by 2002:adf:fd46:0:b0:2bd:dc1a:bd56 with SMTP id h6-20020adffd46000000b002bddc1abd56mr2501943wrs.23.1673620278925; Fri, 13 Jan 2023 06:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673620278; cv=none; d=google.com; s=arc-20160816; b=ef6fosIRJjjS63l8Vc0l3rsqCaEQIFbg0okNRDnFK/wBVnPVdGWra1D9Zw5LVUiAf4 /kBt1pBTtPZQ6Qm3rofNojmvFySxr5NsIId5Da5WZSWdQ0rXi4jzO79lLe2UmhCUxkzT cygaKQurWSfDFVJSop3LYHfzpqamFKfszuVSDrYg7cZL9Vv3KT83fxyInKYYFmuUl1dX 2/+3czBctLRb7/LSv9HvIiO6Vka1jW+4XUmhLtgs5xyCQtv2kppv6r+3PY+vS01OkCP+ JORSb/SSvPLMRW4TzL0tnhTIuouKP2EF4p412RTZMmcosOyfUb5GhyU+ujlOcmiwC7wF Ne6g== 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:to:from :dkim-signature; bh=FAbaJSh5m/RbxwmToLtNlRWjUwZqE/zfDC3TWOgg/dY=; b=q8k/BvbooC49/7R9tmxfJZpVYAn0GXrKjBuRJZPW549W230gbSCRSNy2Yo4284F87J JxGFk4IoUPDSTxMcA4fg0UkGkaBa8E2pS0qT1ANkiO6Xqgq0Ax+3GrnxnBjF0xySwsbo lD+IwU4y4BxjVwtCDpx4cZDQYoJtDuEub16QqHBEh6DZFAec5XZSfDBwvuvqHM+NlBxb 6YQF/QdiM5HN5Ofu/BxhABEjy7iqmSgKBQllvY8H0nLCKBqgNfMTsrHwBHhjFNiFecae bWifxco2tY14mpFzpZRSHgGZmR3TbQI+RCpyyVd7xfHiEyfFXIeGXPy3G4sw+LNCJuif o+Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E257E4N3; 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 d18-20020adff2d2000000b002bc7fd90fcdsi9391887wrp.371.2023.01.13.06.31.18 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2023 06:31:18 -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=E257E4N3; 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 1pGKmv-00017B-Ew; Fri, 13 Jan 2023 09:12:10 -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 <peter.maydell@linaro.org>) id 1pGKmn-00014F-13 for qemu-devel@nongnu.org; Fri, 13 Jan 2023 09:12:01 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1pGKmi-0003nJ-3j for qemu-devel@nongnu.org; Fri, 13 Jan 2023 09:12:00 -0500 Received: by mail-wm1-x332.google.com with SMTP id o15so15343667wmr.4 for <qemu-devel@nongnu.org>; Fri, 13 Jan 2023 06:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FAbaJSh5m/RbxwmToLtNlRWjUwZqE/zfDC3TWOgg/dY=; b=E257E4N3zMA+WxrVYov8eeagXgISqCYUc7ceotZ/E3vTyufpY6f7iEJ9Izn6of/XSy CnZWx7+PcGKmnVvYKHntX/7Cp+b73sDWXFWxySkW1DcSUipgngsYwXBGU/P0aQfVY5/G 3gvbTH0R6bxYSBXBbjK1Yb8z9rIbyR3pIrj1nhtMMfBQHYRZk1lcB1kqj92Yf3mz2+wD QLn264SOlaQFVLBIZNOdie14FvPD3BL+JtWQRRGaEtimotrqRlbX7X3o6ZAQkCdPaJ5c oT+xsGy/fcfGMI1jLu7RxznnYwl4q2rVWt8lO9cxg4nwR+J9nUWLV3SEQconGCauwmxx CIQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FAbaJSh5m/RbxwmToLtNlRWjUwZqE/zfDC3TWOgg/dY=; b=686kDSrAGSfi7bpmFnbAsCjRCogkonuX1A0I5SJmZpr+2rfxMg/r/VmDyazW8vqe6u GO+g/JzaE8gYUMa8W53zEt8H59ZtgUHvC/Ywq98Yidh14R/czenUAmmpM1M9TQtlY+hR vTot6lqfreCtXRMv2ZTvxq2dmqKueJ21VPOZF/FwKteCkJ690JCU3nmTFw58zLEWWCKe cEIpirM7Rptd+patXExyzBwLIEX5Thxd7aSKm9sNMZ82QaAYzHtWm/0xfVRHoLnCdXDG IvUiabUInzQk3IjK+Kpg8dejHowk/nqUfD9i/Xkow3rCdGbTN4I6wx5V0dKNbOTHHDQq J+Wg== X-Gm-Message-State: AFqh2kq/XtuFMWbygwNQKvy9LapA36PlGOuczDbXwc0KachU+0queBal MXkKBm6PeXQLHYEPcJDWl6VtORuhX9iX2gJ0 X-Received: by 2002:a05:600c:3509:b0:3c6:e60f:3f6f with SMTP id h9-20020a05600c350900b003c6e60f3f6fmr57675299wmq.38.1673619109403; Fri, 13 Jan 2023 06:11:49 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n36-20020a05600c502400b003da0b75de94sm5334464wmr.8.2023.01.13.06.11.48 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 06:11:48 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 25/38] hw/gpio/omap_gpio: Add local variable to avoid embedded cast Date: Fri, 13 Jan 2023 14:11:13 +0000 Message-Id: <20230113141126.535646-26-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113141126.535646-1-peter.maydell@linaro.org> References: <20230113141126.535646-1-peter.maydell@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::332; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.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.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 |
[PULL,01/38] hw/arm/stm32f405: correctly describe the memory layout
|
expand
|
diff --git a/hw/gpio/omap_gpio.c b/hw/gpio/omap_gpio.c index bd0841d57fe..12ec16d1b03 100644 --- a/hw/gpio/omap_gpio.c +++ b/hw/gpio/omap_gpio.c @@ -53,7 +53,8 @@ struct omap_gpif_s { /* General-Purpose I/O of OMAP1 */ static void omap_gpio_set(void *opaque, int line, int level) { - struct omap_gpio_s *s = &((struct omap_gpif_s *) opaque)->omap1; + struct omap_gpif_s *p = opaque; + struct omap_gpio_s *s = &p->omap1; uint16_t prev = s->inputs; if (level)