From: Andrew Lunn <andrew@lunn.ch>
To: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, michal.simek@amd.com, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, git@amd.com
Subject: Re: [PATCH net-next v2 4/4] net: axienet: remove unnecessary parentheses
Date: Wed, 31 Jul 2024 14:06:55 +0200 [thread overview]
Message-ID: <d73ee99f-db14-4d93-a96a-75ecc8068014@lunn.ch> (raw)
In-Reply-To: <1722417367-4113948-5-git-send-email-radhey.shyam.pandey@amd.com>
On Wed, Jul 31, 2024 at 02:46:07PM +0530, Radhey Shyam Pandey wrote:
> Remove unnecessary parentheses around 'ndev->mtu
> <= XAE_JUMBO_MTU' and 'ndev->mtu > XAE_MTU'. Reported
> by checkpatch.
>
> CHECK: Unnecessary parentheses around 'ndev->mtu > XAE_MTU'
> + if ((ndev->mtu > XAE_MTU) &&
> + (ndev->mtu <= XAE_JUMBO_MTU)) {
>
> CHECK: Unnecessary parentheses around 'ndev->mtu <= XAE_JUMBO_MTU'
> + if ((ndev->mtu > XAE_MTU) &&
> + (ndev->mtu <= XAE_JUMBO_MTU)) {
>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2024-07-31 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 9:16 [PATCH net-next v2 0/4] net: axienet: Fix coding style issues Radhey Shyam Pandey
2024-07-31 9:16 ` [PATCH net-next v2 1/4] net: axienet: Replace the occurrences of (1<<x) by BIT(x) Radhey Shyam Pandey
2024-07-31 12:05 ` Andrew Lunn
2024-07-31 9:16 ` [PATCH net-next v2 2/4] net: axienet: add missing blank line after declaration Radhey Shyam Pandey
2024-07-31 12:05 ` Andrew Lunn
2024-07-31 9:16 ` [PATCH net-next v2 3/4] net: axienet: remove unnecessary ftrace-like logging Radhey Shyam Pandey
2024-07-31 12:06 ` Andrew Lunn
2024-07-31 9:16 ` [PATCH net-next v2 4/4] net: axienet: remove unnecessary parentheses Radhey Shyam Pandey
2024-07-31 12:06 ` Andrew Lunn [this message]
2024-08-02 9:30 ` [PATCH net-next v2 0/4] net: axienet: Fix coding style issues patchwork-bot+netdevbpf
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=d73ee99f-db14-4d93-a96a-75ecc8068014@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=git@amd.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=radhey.shyam.pandey@amd.com \
/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
all inboxes | Powered by JetHome®