From nobody Mon Feb 9 16:35:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) client-ip=209.85.128.44; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f44.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1641581082; cv=none; d=zohomail.com; s=zohoarc; b=Fc0NlEBJLp6Y9tYAse9kvqr3U6EIu/oAYG6C8/B24ioZU+PePrpqJVVZxPVlGP5pXK4cRDzy385p9DtBcvKVvo1h69d3YFxrzeoyUVeXQc35qQUnqiCdC3mW7q0fyKuwgHtdPTwJcWFKZvpiQweuI6vwGeFrTQlFBW//k7DrVHM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641581082; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NPnPA9g/AWJ0+WUMg3ngrXHqBt6v4p6Ae8wOIVjeVbs=; b=EgLVIQ+pbKrm36jxV6DXpotU+jZyoDeXmVq3JV/ok2741pEWtYClZqjXUDAeYPfqKsM0WlUBruVi2GjNiAykRzM9QBpJwJdcIU0KsAuYNkWAGLlQHlo10qGxt8yc2FK12EPjCWrMnldBw7PtF9YLrfgqzA/heQSihx74yOqh+QU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=none dis=none) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.zohomail.com with SMTPS id 1641581082798763.466397337545; Fri, 7 Jan 2022 10:44:42 -0800 (PST) Received: by mail-wm1-f44.google.com with SMTP id 2-20020a05600c02c200b003470f96e778so3254187wmn.5 for ; Fri, 07 Jan 2022 10:44:42 -0800 (PST) Return-Path: Return-Path: Received: from nuc.. (83.red-83-50-87.dynamicip.rima-tde.net. [83.50.87.83]) by smtp.gmail.com with ESMTPSA id c16sm3142522wrp.109.2022.01.07.10.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 10:44:40 -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=NPnPA9g/AWJ0+WUMg3ngrXHqBt6v4p6Ae8wOIVjeVbs=; b=RYZpE8UV5jzUInuFvtdYEh3PRChb5KFgX6Kwq1YdHylcj8NE+kancsqCvQUGrlGjhC 4TmZCbH22vn9091tYMHLORp2MJ9mHYmU+XPuY8312gRYRbocQ976QJfAJ8J2WPOL/rxV vucUmj4HHHDuIMT8C55ckZIAZKGGZpaA9KZVsEygYt9gIrN7GlmWlWnDemNCfTGNdv9D +D49k1EHLrXjuKJ1wHkERKuYuQMiVWK/CbEk02UcpS+zg1yFjdQ8OZCmn5md1JRvfonk HO1/r8yJli8OhNWB2Fmsze3fxP4FpFOJf24lWJ72+ha4XE6QsO7PCnHGDwC3CDWwwpyn zLug== 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=NPnPA9g/AWJ0+WUMg3ngrXHqBt6v4p6Ae8wOIVjeVbs=; b=0LBAIuqXbBbrF5OtHWm1QtCDjL7nIrzWg1vzfGICBHWb7O1FubbQKvXC2/sXY4PBvZ z7YdTOk/jQSgXDf/id+WJo/sLSXYm4mYSvn/smF4+a143GSGBUcIhkSzK1ze3x11QQgz /aj0EHG0Dvzq3cx87jzeKRDh+hj72LNQZ1MzHcXIdPUJORP+0zQgG5oTtIWlz8DmjIyp KBRFEewsD7RSjh8PjUdcdpuU2LJCYtpgAefpQ6gfuulgfmWtIuLTIoSDfTeacomA3BM+ 0eCcn8wmjOw8JsIucKtV3wRtLzkyDgWsWCZ0okSLtpEv6DQSm+ek87dDf8dQviRbw+0d GE5Q== X-Gm-Message-State: AOAM531zwm0AazxipmC1/zVLpR4GqbrIrnhC1u4u5DfBthSb6Kbma8Vr Z33WZEnghN3LxWHNn+szoeU= X-Google-Smtp-Source: ABdhPJxX8EOsCKvCiAS6b+kTJzWXBQJhPAIQshOslqzpr5UTBoxJCEBsrLOsHhJEuswHdg8YyD8rGg== X-Received: by 2002:a05:600c:1f19:: with SMTP id bd25mr12130573wmb.42.1641581081071; Fri, 07 Jan 2022 10:44:41 -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: Richard Henderson , qemu-arm@nongnu.org, Peter Maydell , Jan Kiszka , Jason Wang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v4 2/3] hw/arm/musicpal: Fix coding style of code related to MV88W8618 device Date: Fri, 7 Jan 2022 19:44:28 +0100 Message-Id: <20220107184429.423572-3-f4bug@amsat.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220107184429.423572-1-f4bug@amsat.org> References: <20220107184429.423572-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: 1641581085134100001 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 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.33.1