From: Gen Zhang <blackgod016574@gmail.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: [dm-devel] [PATCH] dm-init: fix 2 incorrect use of kstrndup()
Date: Wed, 29 May 2019 23:24:43 +0800 [thread overview]
Message-ID: <20190529152443.GA4076@zhanggen-UX430UQ> (raw)
In-Reply-To: <fcf2c3c0-e479-9e74-59d5-79cd2a0bade6@acm.org>
On Wed, May 29, 2019 at 05:23:53AM -0700, Bart Van Assche wrote:
> 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.
Personally, I am not quite sure about this question, because I am not
the maintainer of this part.
Thanks
Gen
next prev parent reply other threads:[~2019-05-29 15:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-29 1:33 Gen Zhang
2019-05-29 12:23 ` [dm-devel] " Bart Van Assche
2019-05-29 15:24 ` Gen Zhang [this message]
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=20190529152443.GA4076@zhanggen-UX430UQ \
--to=blackgod016574@gmail.com \
--cc=agk@redhat.com \
--cc=bvanassche@acm.org \
--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
all inboxes | Powered by JetHome®