From nobody Thu Apr 10 00:20:09 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1642701440; cv=none; d=zohomail.com; s=zohoarc; b=WfOkewDCLpc6LicRtDrpYZ31C3ir3DFYAzTjPoUsU06WTr4LIsvrSQ5FzFFrMzBss9EOaU8VvHCI+B5l7b7BjcI/sePqk/pin//+kLzhiidMDKdxJRorbCiNFIGDb/9eaJOqJiZNmhp5gDcwWdd1Mzp0JTc9X7xwfVvbGkskLIM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642701440; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=M0GSM/gGyPWyvP4duDWsVDdUIy8/Nu30tI3UmJhTaGU=; b=BP8PmjAC840MSFIyx2r8mxFvySni722cUScWhmw+lIDar3CfbfsN+CkBGfD2ntTQuTPWgmpw3SXbBNVgo2bei4yQLKMKzTFiIWhyFu8NTxoFhmGnkcYKbd69J9NO5IhdHZeUBsSymsSecTuZD+ylG2Lu1UPejoDU081H4a5B6OE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 164270144058728.209849930728524; Thu, 20 Jan 2022 09:57:20 -0800 (PST) Received: from localhost ([::1]:57650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAbgU-0006nN-8e for importer@patchew.org; Thu, 20 Jan 2022 12:57:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAWgJ-00046t-5B for qemu-devel@nongnu.org; Thu, 20 Jan 2022 07:36:47 -0500 Received: from [2a00:1450:4864:20::333] (port=41714 helo=mail-wm1-x333.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAWgA-000374-6z for qemu-devel@nongnu.org; Thu, 20 Jan 2022 07:36:42 -0500 Received: by mail-wm1-x333.google.com with SMTP id q141-20020a1ca793000000b00347b48dfb53so13504608wme.0 for ; Thu, 20 Jan 2022 04:36:36 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id t8sm7993324wmq.43.2022.01.20.04.36.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 04:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=M0GSM/gGyPWyvP4duDWsVDdUIy8/Nu30tI3UmJhTaGU=; b=q4ZN2GlooRMES+0zu99UdyQmOvR0IWq3PjSnP3SypVrTv8M8ZKwVZ1ilcE2ywD2uxj hURyMFfuTftnUZ8GJ6eWcWHJ8cYLRnDjK2WxWN2c6I/SbfaKGdUsdfaGvWO8No8bTpZK yftfuZcsOdNft2NWDNnQGROe8ySxEN47bYCPkmIQwl+a4g8Jm495VSbLYLWULG8vNd0m 4wGMAKhh0VdCpr29QsxTjEZETj4zeMztez29Z9mPMoyWUy5Znyaj6DiMYbFKK9Jpu6FU G75I9xX2IPOPo0Orv2bdHGmHTd7DwYLPKrFC+dPYY0ob015KteSFbKi89yKZMFq551/3 rQWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M0GSM/gGyPWyvP4duDWsVDdUIy8/Nu30tI3UmJhTaGU=; b=drQV8hLRY3rNyTz5vRd16JPoipifaG75HLjuoZRqFkNHo9zdZrRMe0LG4HyIdywL6o d/16kSTecn47RmxNT76NTofxI7Y9TeBPsLU66yinKD3qM8lWg3nQ7l7H/kOs2NSFg23k K0L36rqEeNjTRwbCX6gHmSZJk0SnALPns6vfNkR3LXbhSElxk92yWagrBMdeprZsqZxQ 8lXjZsJqldcb4mtGbsdLl0s7TGgONy5asD97ZGBOG0VGq+6DrqnU+UHwWUaJRRONy/nv tV2KsEaA1h+7gX9sdjI8rLpoavczwPjWOu9tqQil1a+w3VZ93duqafRRTGE93lmSoebE MEPw== X-Gm-Message-State: AOAM532BYC2mseIr8F9/PNEJErPrddr4SJgSZSt3cIsUjk6cvxrEVr1Q LTEQSFOBe76B+jUkaBa2kpusm5d9R8gWNw== X-Google-Smtp-Source: ABdhPJyeKlWo5j5iJIvau1+M2iumfgkT/LAK2J0jlKDTie/ZG4sE7AdfBD6WBViWGaiIvuXZ6dPRig== X-Received: by 2002:a05:600c:190a:: with SMTP id j10mr8693331wmq.55.1642682195221; Thu, 20 Jan 2022 04:36:35 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 03/38] hw/arm/musicpal: Fix coding style of code related to MV88W8618 device Date: Thu, 20 Jan 2022 12:35:55 +0000 Message-Id: <20220120123630.267975-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220120123630.267975-1-peter.maydell@linaro.org> References: <20220120123630.267975-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::333 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1642701442054100001 From: Philippe Mathieu-Daud=C3=A9 We are going to move this code, so fix its style first to avoid: ERROR: spaces required around that '/' (ctx:VxV) Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20220107184429.423572-3-f4bug@amsat.org Signed-off-by: Peter Maydell --- hw/arm/musicpal.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hw/arm/musicpal.c b/hw/arm/musicpal.c index 2680ec55b5a..1291eb98aba 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -310,13 +310,13 @@ static uint64_t mv88w8618_eth_read(void *opaque, hwad= dr offset, return s->imr; =20 case MP_ETH_FRDP0 ... MP_ETH_FRDP3: - return s->frx_queue[(offset - MP_ETH_FRDP0)/4]; + return s->frx_queue[(offset - MP_ETH_FRDP0) / 4]; =20 case MP_ETH_CRDP0 ... MP_ETH_CRDP3: - return s->rx_queue[(offset - MP_ETH_CRDP0)/4]; + return s->rx_queue[(offset - MP_ETH_CRDP0) / 4]; =20 case MP_ETH_CTDP0 ... MP_ETH_CTDP1: - return s->tx_queue[(offset - MP_ETH_CTDP0)/4]; + return s->tx_queue[(offset - MP_ETH_CTDP0) / 4]; =20 default: return 0; @@ -361,16 +361,16 @@ static void mv88w8618_eth_write(void *opaque, hwaddr = offset, break; =20 case MP_ETH_FRDP0 ... MP_ETH_FRDP3: - s->frx_queue[(offset - MP_ETH_FRDP0)/4] =3D value; + s->frx_queue[(offset - MP_ETH_FRDP0) / 4] =3D value; break; =20 case MP_ETH_CRDP0 ... MP_ETH_CRDP3: - s->rx_queue[(offset - MP_ETH_CRDP0)/4] =3D - s->cur_rx[(offset - MP_ETH_CRDP0)/4] =3D value; + s->rx_queue[(offset - MP_ETH_CRDP0) / 4] =3D + s->cur_rx[(offset - MP_ETH_CRDP0) / 4] =3D value; break; =20 case MP_ETH_CTDP0 ... MP_ETH_CTDP1: - s->tx_queue[(offset - MP_ETH_CTDP0)/4] =3D value; + s->tx_queue[(offset - MP_ETH_CTDP0) / 4] =3D value; break; } } --=20 2.25.1