From: Leon Romanovsky <leon@kernel.org>
To: Pan Bian <bianpan2016@163.com>
Cc: Saeed Mahameed <saeedm@nvidia.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Aya Levin <ayal@nvidia.com>,
Tariq Toukan <tariqt@nvidia.com>,
Eran Ben Elisha <eranbe@nvidia.com>,
Moshe Shemesh <moshe@mellanox.com>,
Moshe Tal <moshet@mellanox.com>, Joe Perches <joe@perches.com>,
Jiri Pirko <jiri@mellanox.com>,
netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net/mlx5e: free page before return
Date: Thu, 21 Jan 2021 19:49:38 +0200 [thread overview]
Message-ID: <20210121174938.GG320304@unreal> (raw)
In-Reply-To: <20210121045830.96928-1-bianpan2016@163.com>
On Wed, Jan 20, 2021 at 08:58:30PM -0800, Pan Bian wrote:
> Instead of directly return, goto the error handling label to free
> allocated page.
>
> Fixes: 5f29458b77d5 ("net/mlx5e: Support dump callback in TX reporter")
> Signed-off-by: Pan Bian <bianpan2016@163.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en/health.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2021-01-21 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-21 4:58 [PATCH] net/mlx5e: free page before return Pan Bian
2021-01-21 17:49 ` Leon Romanovsky [this message]
2021-01-22 19:43 ` Saeed Mahameed
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=20210121174938.GG320304@unreal \
--to=leon@kernel.org \
--cc=ayal@nvidia.com \
--cc=bianpan2016@163.com \
--cc=davem@davemloft.net \
--cc=eranbe@nvidia.com \
--cc=jiri@mellanox.com \
--cc=joe@perches.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=moshe@mellanox.com \
--cc=moshet@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=saeedm@nvidia.com \
--cc=tariqt@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).