From nobody Tue Feb 10 09:57:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) client-ip=209.85.128.43; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f43.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1639659427; cv=none; d=zohomail.com; s=zohoarc; b=Jz+9kqwTIw3eVmO7xFk1WyDZJY4PCC8r/UaITSBtSGzy6szX/7NSPJoBpALm3l5RkMXTN1LyxMxP7LmBM2m3uTz6IhkW5fY4YVIrQ+Gn1dlIMoFlwhZFCRd9ecYZTGdllonLp0wll4SQL2aL6V0IAGer6iNEt7E/2Kq/1yVstfM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639659427; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NsGkgLg/FTwpFvrnErxAcsQIbF5SaAPwAKaBC1NuFFw=; b=gZfnk04s8GWX1zH/Jj2FZPL44h1h6Eu1SYwrMAqPycO2uNaRD/JwHhOYQOOFDRWEFuhUhxhmNkONFK3bXDueITm5FcASOZIOxTKQIX6DB/6VQiqv3xEhD+Pb3CwooIDZ9YNTrg3IfXmdRUCG39dB9qo52a1T/doj+SF5MtutGeY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.zohomail.com with SMTPS id 1639659427399634.2956174452382; Thu, 16 Dec 2021 04:57:07 -0800 (PST) Received: by mail-wm1-f43.google.com with SMTP id p27-20020a05600c1d9b00b0033bf8532855so18112382wms.3 for ; Thu, 16 Dec 2021 04:57:06 -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 h19sm4771585wmq.0.2021.12.16.04.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 04:57:05 -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=nDl8Choh8DT97eJ2VeA9y9HQJGGeAEjn1LMwGajemIXC5ZW5O+A0B25sq7i4bqY7nY ib8MEzxOYPx33ozpkfq9OX21ne1nhbve5128gPqHRrh4ff8J6UQXxx/plU2e4gopEpBI DISI3sYU0eWhSiXQKEdgWwMSBswJHKUqtCPj6cW3JUZ/B055mXRVgpztvkUIrfKHA7Zn ofcSUFeiAo9Do1QF/HM8tIQP4N3fGXWATv37VG3Jb7c/ZJ5mvw8Ox3f0oJ4e46H96AX4 G6U/75kuKLA2C3nnmVkoHlB8x+EGT1KBKt93Igs8yvLB+d17xUUZ+hVadkWedYfIwSK5 64BQ== 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=KgjL35GcaHaYQXd4Wt0aYi+uDLHoNSUUfQ9JMpaGRO8NDVarZx2+zNO63bNj2RVYE3 GKSEtpe70iVnGB1gpbhzlULwquiesAJGSxdPlFMnobZhtrxQ7c1x9gyHw+5GOF4XpigQ j61SQ6qvy5N0qJQWH5ZWHJ4zSVvK/IbOAZKqY8UpL5i4ya4Hcsfdne7+rN4xfyg5Cnpl nxs98lUf58hudbS35TSIbKFJ44/RfT5R8CkmKYVjIMUTchyL2rhUdtaHeOAO6GA8Z0WJ G7egnZ+2P/+cwTGChS0zq5TBYyz1hilpzoDfxYYWUaZStTkQJPDsxhpIjzCz2ijlL78j Uxiw== X-Gm-Message-State: AOAM530pbTQ8zbDrwxkgl6fByfxfHh49ExyW/zCCnUAaItoHWOn/qHjm BD1jiM9R4IDvvOCiMAJzMjM= X-Google-Smtp-Source: ABdhPJymKoXiQSwP14895OVgnwj2II8Ht6/Hzrqg0HwtJ/ICFIVauBrKMJtGPU0Q7ZhmVlkiqlVKVA== X-Received: by 2002:a05:600c:4153:: with SMTP id h19mr4989725wmm.142.1639659425651; Thu, 16 Dec 2021 04:57:05 -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 , Jason Wang , Peter Maydell , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 1/2] hw/arm/musicpal: Fix coding style of code related to MV88W8618 device Date: Thu, 16 Dec 2021 13:56:46 +0100 Message-Id: <20211216125647.805544-2-f4bug@amsat.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211216125647.805544-1-f4bug@amsat.org> References: <20211216125647.805544-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: 1639659428503100001 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 Reviewed-by: Richard Henderson --- 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