All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeed@kernel.org>
To: Ziyang Xuan <william.xuanziyang@huawei.com>
Cc: saeedm@nvidia.com, leon@kernel.org, davem@davemloft.net,
	kuba@kernel.org, pabeni@redhat.com, paulb@nvidia.com,
	netdev@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [PATCH net] net/mlx5: use kvfree() for kvzalloc() in mlx5_ct_fs_smfs_matcher_create
Date: Tue, 26 Apr 2022 13:06:07 -0700	[thread overview]
Message-ID: <20220426200607.mecnebfcfu7u3upi@sx1> (raw)
In-Reply-To: <20220420103617.3006047-1-william.xuanziyang@huawei.com>

On 20 Apr 18:36, Ziyang Xuan wrote:
>The memory of spec is allocated with kvzalloc(), the corresponding
>release function should not be kfree(), use kvfree() instead.
>
>Generated by: scripts/coccinelle/api/kfree_mismatch.cocci
>
>Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>

applied to net-next-mlx5, thanks !



      reply	other threads:[~2022-04-26 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 10:36 [PATCH net] net/mlx5: use kvfree() for kvzalloc() in mlx5_ct_fs_smfs_matcher_create Ziyang Xuan
2022-04-26 20:06 ` Saeed Mahameed [this message]

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=20220426200607.mecnebfcfu7u3upi@sx1 \
    --to=saeed@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=paulb@nvidia.com \
    --cc=saeedm@nvidia.com \
    --cc=william.xuanziyang@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.