From: Bart Van Assche <bvanassche@acm.org>
To: Gen Zhang <blackgod016574@gmail.com>,
agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [dm-devel] [PATCH] dm-init: fix 2 incorrect use of kstrndup()
Date: Wed, 29 May 2019 05:23:53 -0700 [thread overview]
Message-ID: <fcf2c3c0-e479-9e74-59d5-79cd2a0bade6@acm.org> (raw)
In-Reply-To: <20190529013320.GA3307@zhanggen-UX430UQ>
On 5/28/19 6:33 PM, Gen Zhang wrote:
> In drivers/md/dm-init.c, kstrndup() is incorrectly used twice.
>
> It should be: char *kstrndup(const char *s, size_t max, gfp_t gfp);
Should the following be added to this patch?
Fixes: 6bbc923dfcf5 ("dm: add support to directly boot to a mapped
device") # v5.1.
Cc: stable
Thanks,
Bart.
next prev parent reply other threads:[~2019-05-29 12:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-29 1:33 [PATCH] dm-init: fix 2 incorrect use of kstrndup() Gen Zhang
2019-05-29 12:23 ` Bart Van Assche [this message]
2019-05-29 15:24 ` [dm-devel] " Gen Zhang
2019-05-30 16:11 ` Mike Snitzer
2019-05-31 0:44 ` Gen Zhang
2019-06-06 9:27 ` Gen Zhang
2019-06-17 9:27 ` Gen Zhang
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=fcf2c3c0-e479-9e74-59d5-79cd2a0bade6@acm.org \
--to=bvanassche@acm.org \
--cc=agk@redhat.com \
--cc=blackgod016574@gmail.com \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=snitzer@redhat.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