From: Leon Romanovsky <leon@kernel.org>
To: Yu Liao <liaoyu15@huawei.com>
Cc: edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
saeedm@nvidia.com, liwei391@huawei.com, davem@davemloft.net,
maciej.fijalkowski@intel.com, michal.simek@amd.com,
netdev@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [PATCH net-next 1/2] net/mlx5e: Use PTR_ERR_OR_ZERO() to simplify code
Date: Tue, 22 Aug 2023 17:10:29 +0300 [thread overview]
Message-ID: <20230822141029.GG6029@unreal> (raw)
In-Reply-To: <20230822021455.205101-1-liaoyu15@huawei.com>
On Tue, Aug 22, 2023 at 10:14:54AM +0800, Yu Liao wrote:
> Use the standard error pointer macro to shorten the code and simplify.
>
> Signed-off-by: Yu Liao <liaoyu15@huawei.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2023-08-22 14:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 2:14 [PATCH net-next 1/2] net/mlx5e: Use PTR_ERR_OR_ZERO() to simplify code Yu Liao
2023-08-22 2:14 ` [PATCH net-next 2/2] net: dm9051: " Yu Liao
2023-08-22 14:10 ` Leon Romanovsky [this message]
2023-08-24 2:30 ` [PATCH net-next 1/2] net/mlx5e: " 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=20230822141029.GG6029@unreal \
--to=leon@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=liaoyu15@huawei.com \
--cc=linux-rdma@vger.kernel.org \
--cc=liwei391@huawei.com \
--cc=maciej.fijalkowski@intel.com \
--cc=michal.simek@amd.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.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;
as well as URLs for NNTP newsgroup(s).