From: David Sterba <dsterba@suse.cz>
To: Kai Song <songkai01@inspur.com>
Cc: clm@fb.com, josef@toxicpanda.com, dsterba@suse.com,
linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] btrfs: zoned: Use kmemdup() to replace kmalloc + memcpy
Date: Wed, 6 Oct 2021 14:17:32 +0200 [thread overview]
Message-ID: <20211006121732.GM9286@twin.jikos.cz> (raw)
In-Reply-To: <20211003080656.217151-1-songkai01@inspur.com>
On Sun, Oct 03, 2021 at 04:06:56PM +0800, Kai Song wrote:
> fix memdup.cocci warning:
> fs/btrfs/zoned.c:1198:23-30: WARNING opportunity for kmemdup
>
> Signed-off-by: Kai Song <songkai01@inspur.com>
Added to misc-next, thanks.
prev parent reply other threads:[~2021-10-06 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 8:06 [PATCH] btrfs: zoned: Use kmemdup() to replace kmalloc + memcpy Kai Song
2021-10-04 8:21 ` Johannes Thumshirn
2021-10-06 12:17 ` David Sterba [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=20211006121732.GM9286@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=songkai01@inspur.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).