From nobody Mon Feb 9 18:18:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.41 as permitted sender) client-ip=209.85.128.41; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f41.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1639644346; cv=none; d=zohomail.com; s=zohoarc; b=GGWeAQnx98bgD5a/4JXBpVC2cKTvDQUCvhsNDQPBf6rLGlTXsEeZBTbyco5mwzB1EhaPJbkm6vUUe7WdSqWq4lNACrOUFeahCAXnqTsk1HWCUiyy9ATr2glGj2IWodne6WuNikg5W5xnfIlzdA3oO5ooh+cCBdBDAIuNYfEat+s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639644346; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NsGkgLg/FTwpFvrnErxAcsQIbF5SaAPwAKaBC1NuFFw=; b=drh42dlvNONoa1z06WBxxWqve0i4HX4BcIGVNaMsWPLTDtesihmzIGh9On6MBvHW6zGV7PfqqJzpNvsExmIRMdolrWXJ6oGEjdx1THG0knO0ZJ9fa1SjvCteNjTALTOdWu5mWrGkgupQOiW9eG6VO7Wpo1eP3T00ZquaeeW3vLw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.zohomail.com with SMTPS id 1639644346588273.5570439731375; Thu, 16 Dec 2021 00:45:46 -0800 (PST) Received: by mail-wm1-f41.google.com with SMTP id o19-20020a1c7513000000b0033a93202467so17641317wmc.2 for ; Thu, 16 Dec 2021 00:45:46 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (174.red-83-50-185.dynamicip.rima-tde.net. [83.50.185.174]) by smtp.gmail.com with ESMTPSA id g3sm753057wrp.79.2021.12.16.00.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 00:45:44 -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=NsGkgLg/FTwpFvrnErxAcsQIbF5SaAPwAKaBC1NuFFw=; b=TTqmbdwrTuYtGxNO6UZ9OZSlYOQk1mnBWSbxVx6UVofNubiFcbxHsLkAlUnYzcaPQU 7nkDpDQIFtYPQur5HrFX5qHRn9vEiEvBiw6mkFqH2M+e7TUBL3iwpKZN8HFBoKz4+7Zh mlvyY8WfEKZpGqJe4RNHEYLOTByulavBfDvD/0v2qFQJMJO6uZTVUSKbUXJp8F2cAvva rhkEkt1pzFq/pCu1LJ4FFBtB6AR85b0gF8Yd8EY+NGnaVoF7YhntAM4MxZ+0VT7BjMT7 Bb/e1kHEeQjcgpik2odStH0JQZEZ8qzgu/KRbLebjblHR2TEDOTfJlNYZRJ2xfmQhUXO 2NhQ== 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=NsGkgLg/FTwpFvrnErxAcsQIbF5SaAPwAKaBC1NuFFw=; b=rg6AMg1r7WG702Ew6cFoGYJyvIHy5c9tVQBmZsMqVry8kjULLZJwcK63ncrGdSwUtx Z8ciyVdFpui5SD5jG0Be6UsRdcomz9iKMOdlp5gzEYpikFWO/coRjspnLL0rVdiboLbY 4IDAgCvJtst8rjIu5wlwpCUqHHraUrAvNpG5DXfgLbiSu8jRYRNr73rruI3RYZAtGMuE UYwK0YzC89sjXRX48JJgpCp+pwRLgbXtatdllyj+5JvooNlc41beFp7eLhTd3rX7LQxq uqcWKN7SJql1rpEpAOv7AGHN3JlDtVgfxgcoi5aJG25KlFhXeytoPTnyW4+kkgef5MRa vDOQ== X-Gm-Message-State: AOAM530WkXwVXvz//wRc5IiuSdZ5xcKhKh8TXIvCRmuRDi4exIzJJeWy otOjcn4d/mFjr2of/5SXxks= X-Google-Smtp-Source: ABdhPJyoLvMjgBokFHf7umNJHcpJwuydEWgOmefHNlHAQVKedJ4nn1MEiPi78Z0FXy270hUiiFErZg== X-Received: by 2002:a7b:c008:: with SMTP id c8mr3849651wmb.87.1639644344844; Thu, 16 Dec 2021 00:45:44 -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: qemu-arm@nongnu.org, Peter Maydell , Jason Wang , Jan Kiszka , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] hw/arm/musicpal: Fix coding style of code related to MV88W8618 device Date: Thu, 16 Dec 2021 09:45:29 +0100 Message-Id: <20211216084530.698125-2-f4bug@amsat.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211216084530.698125-1-f4bug@amsat.org> References: <20211216084530.698125-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: 1639644347967100007 We are going to move this code, so fix its style first to avoid: ERROR: spaces required around that '/' (ctx:VxV) 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