public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel•org>
To: Ruan Jinjie <ruanjinjie@huawei•com>
Cc: aelior@marvell•com, skalluru@marvell•com, manishc@marvell•com,
	davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
	pabeni@redhat•com, netdev@vger•kernel.org
Subject: Re: [PATCH -next] bnx2x: Remove unnecessary ternary operators
Date: Tue, 1 Aug 2023 12:13:07 +0200	[thread overview]
Message-ID: <ZMjas31vx/uiZzLV@kernel.org> (raw)
In-Reply-To: <20230801020240.3342014-1-ruanjinjie@huawei.com>

On Tue, Aug 01, 2023 at 10:02:40AM +0800, Ruan Jinjie wrote:
> Ther are a little ternary operators, the true or false judgement
> of which is unnecessary in C language semantics.
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie@huawei•com>

For non-bugfix Networking patches, it is appropriate to
designate the target tree as 'net-next' rather than '-next'.
(For bug fixes 'net' is appropriate).

Link: https://docs.kernel.org/process/maintainer-netdev.html

Otherwise, this looks fine to me.

Reviewed-by: Simon Horman <horms@kernel•org>


  reply	other threads:[~2023-08-01 10:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01  2:02 [PATCH -next] bnx2x: Remove unnecessary ternary operators Ruan Jinjie
2023-08-01 10:13 ` Simon Horman [this message]
2023-08-01 10:55   ` Ruan Jinjie

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=ZMjas31vx/uiZzLV@kernel.org \
    --to=horms@kernel$(echo .)org \
    --cc=aelior@marvell$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=manishc@marvell$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=ruanjinjie@huawei$(echo .)com \
    --cc=skalluru@marvell$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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