From: Tom Rini <trini@konsulko.com>
To: Marek Vasut <marek.vasut@mailbox.org>
Cc: Beiyan Yun <root@infi.wang>,
u-boot@lists.denx.de, Yao Zi <ziyao@disroot.org>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Jerome Forissier <jerome.forissier@linaro.org>,
Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>,
Siddharth Vadapalli <s-vadapalli@ti.com>
Subject: Re: [PATCH v4 1/5] net: phy: aquantia: refresh format
Date: Fri, 31 Oct 2025 13:00:03 -0600 [thread overview]
Message-ID: <20251031190003.GF6688@bill-the-cat> (raw)
In-Reply-To: <304efeca-2529-4241-a9fe-7f305f8b430c@mailbox.org>
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
On Fri, Oct 31, 2025 at 07:33:13PM +0100, Marek Vasut wrote:
> On 10/31/25 6:21 PM, Beiyan Yun wrote:
> >
> >
> > > On 31 Oct 2025, at 11:51 PM, Marek Vasut <marek.vasut@mailbox.org> wrote:
> > >
> > > On 10/31/25 4:21 PM, Beiyan Yun wrote:
> > > > Refresh format using clang-format.
> > > > Signed-off-by: Beiyan Yun <root@infi.wang>
> > > > ---
> > > > Changes in v4:
> > > > - New
> > > > drivers/net/phy/aquantia.c | 159 +++++++++++++++++--------------------
> > > > 1 file changed, 75 insertions(+), 84 deletions(-)
> > > > diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
> > > > index 903fcd667f6..439c4c48bdc 100644
> > > > --- a/drivers/net/phy/aquantia.c
> > > > +++ b/drivers/net/phy/aquantia.c
> > > > @@ -18,28 +18,28 @@
> > > > #include <asm/byteorder.h>
> > > > #include <fs.h>
> > > > -#define AQUNTIA_10G_CTL 0x20
> > > > -#define AQUNTIA_VENDOR_P1 0xc400
> > > > +#define AQUNTIA_10G_CTL 0x20
> > > > +#define AQUNTIA_VENDOR_P1 0xc400
> > > > -#define AQUNTIA_SPEED_LSB_MASK 0x2000
> > > > -#define AQUNTIA_SPEED_MSB_MASK 0x40
> > > > +#define AQUNTIA_SPEED_LSB_MASK 0x2000
> > > > +#define AQUNTIA_SPEED_MSB_MASK 0x40
> > > #define<space>MACRO<tab>0xvalue
> > >
> > > is perfectly fine format.
> >
> > Agree, until clang-format has become the default.
> This change makes readability worse, no matter what formatting tool is the
> current recommendation.
Generally speaking, one should not just reformat the code, for
reformatting sake. If someone wants to tweak .clang-format and push the
changes to the kernel (whom I would assume are as picky as anyone else
here), that's fine with me.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-10-31 19:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-31 15:21 [PATCH v4 0/5] net: phy: aquantia: Switch to generic firmware loader Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 1/5] net: phy: aquantia: refresh format Beiyan Yun
2025-10-31 15:51 ` Marek Vasut
2025-10-31 17:21 ` Beiyan Yun
2025-10-31 18:33 ` Marek Vasut
2025-10-31 19:00 ` Tom Rini [this message]
2025-10-31 15:21 ` [PATCH v4 2/5] doc: bindings: use upstream bindings for aquantia phy Beiyan Yun
2025-10-31 15:53 ` Marek Vasut
2025-10-31 17:02 ` Beiyan Yun
2025-10-31 17:12 ` Marek Vasut
2025-10-31 15:21 ` [PATCH v4 3/5] net: phy: aquantia: replace the "mdi-reversal" node with "marvell, mdi-cfg-order" Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 4/5] net: phy: aquantia: refactor firmware upload helpers Beiyan Yun
2025-10-31 15:21 ` [PATCH v4 5/5] net: phy: aquantia: use generic firmware loader Beiyan Yun
2025-10-31 15:41 ` Daniel Golle
2025-10-31 16:09 ` Beiyan Yun
2025-10-31 15:57 ` Marek Vasut
2025-10-31 16:34 ` Beiyan Yun
2025-10-31 16:51 ` Marek Vasut
2025-11-01 7:45 ` Beiyan Yun
2025-11-01 11:54 ` Marek Vasut
2025-11-02 4:57 ` Beiyan Yun
2025-11-02 14:25 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251031190003.GF6688@bill-the-cat \
--to=trini@konsulko.com \
--cc=jerome.forissier@linaro.org \
--cc=joe.hershberger@ni.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=marek.vasut@mailbox.org \
--cc=rfried.dev@gmail.com \
--cc=root@infi.wang \
--cc=s-vadapalli@ti.com \
--cc=u-boot@lists.denx.de \
--cc=ziyao@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox