From nobody Tue Feb 10 23:13:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) client-ip=209.85.221.45; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f45.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1639783821; cv=none; d=zohomail.com; s=zohoarc; b=V7yW+8pi39r8YAE6uZr0PmSMO0hbsauzB3pqxBHX/jTUAufNzC1laV6vdHeFMVeevb+Z/ndcW8/HGJR9RVCukh0mWyge5u9jSaBdOIsVRWyDXPuDzhDbmqoitGlHp1YfQuL1/StBhPOvh9xeUZrRY7tSHJx6kPBmW5TJkZyHGvM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639783821; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=8PyOdFmZygCGVLNn7Pxdq98PoJywaoUaIsyCZRSl4x0=; b=GSSiZ+JXpmyvCo0P6whpYNEuoGbWNZ3c86qK9PUjvzzNAV8shKLjQbFlf540iuqryg7Pfy1XMDdus8ZsCHnaAEj1ytaRYxP9FEbrDCWiBeyyiqgTrqzGzl7z9yp4oc/DF3nDsINaQiXkz+YNvnKiqyu86hUOfWR4H1XmGAc1FMw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.zohomail.com with SMTPS id 1639783821171312.0025678972712; Fri, 17 Dec 2021 15:30:21 -0800 (PST) Received: by mail-wr1-f45.google.com with SMTP id j18so6884561wrd.2 for ; Fri, 17 Dec 2021 15:30:20 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (174.red-83-50-185.dynamicip.rima-tde.net. [83.50.185.174]) by smtp.gmail.com with ESMTPSA id f18sm8433841wre.7.2021.12.17.15.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 15:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8PyOdFmZygCGVLNn7Pxdq98PoJywaoUaIsyCZRSl4x0=; b=aUkf6ng5486I00zDM+Iz+BQl+htto9sPtN+tKIgMezSmj/0KY6lLRTPmLblbCqlUve a5cFJ06NWEE3uyixeG2SqkMj5N9449lF5koA52D70JaM8WVPj0s5YRNgemxzOXw0aOk9 4/rnhM7apOkgJm4UkBGVZF25xCvUmV8DqpfVHtuCe9KO6WRsgSQjKMvhPHW7vCQDxmZr 9/QM+VbBgmsxLEg1f11bVatgz7LEUOyDKasrBgkeO2gjxb2LQ9Emr2X+3XK2YIRdSiTi GHajaSHQzalbGsNCfbonuxCThpFYilIpu3myOsWE7sIFcTj30UI+oLDKnmyzkOlFsIGv 0rZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=8PyOdFmZygCGVLNn7Pxdq98PoJywaoUaIsyCZRSl4x0=; b=uWrD+xq7CXnPj8GHLjeDutBhFsg777hGWvl9e2vHof8jziBEhc1e65L1GLmmkUGTYh RdVsb8XwTM4CfaR8xReuqqRZsF7kWm2QrQk6eebP30Eia54aiPUp0h5iaTXvAVUTXYwH 1Yg0rlaREM+Jptjg6pvaTBj+a2zx01KhNeENIhpOGflyWDf8gT67endQO9HqhsM6vI8p aICfzYvRMOoMBU4U4yLwso3A22Tx1iyDZ3gMnpTa/9HuVmmxNxwt6iLw3lJDLGee4rGv VS4vrQMbuExETsNuOjnjGzqBvdZEpinWLBGLJxR9okTsV68CwtZ7/J8x/sPcWasw/Jhb OUfA== X-Gm-Message-State: AOAM530qPNxPXJ2+5iQbVwgZClPKHn3DY63mHq1+rINuMtC3d/LS3Gwi W2JD43hKj3E0yL8kEctBlqs= X-Google-Smtp-Source: ABdhPJx+HPsfSMmfqQY1k/bGZEfdSF9iZnfKQeO1aHkSyEJe5y2SpI/Cqb8FaynwXdqmT7GoNFOWyw== X-Received: by 2002:a5d:6349:: with SMTP id b9mr4132758wrw.152.1639783819487; Fri, 17 Dec 2021 15:30:19 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Jan Kiszka , Richard Henderson , Peter Maydell , Jason Wang , qemu-arm@nongnu.org, Gerd Hoffmann , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 2/3] hw/arm/musicpal: Fix coding style of code related to MV88W8618 device Date: Sat, 18 Dec 2021 00:30:05 +0100 Message-Id: <20211217233006.1466747-3-f4bug@amsat.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211217233006.1466747-1-f4bug@amsat.org> References: <20211217233006.1466747-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1639783822066100001 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 --- 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 2d612cc0c9b..6b5310117b8 100644 --- a/hw/arm/musicpal.c +++ b/hw/arm/musicpal.c @@ -309,13 +309,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; @@ -360,16 +360,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.33.1