From: Martin Wilck <Martin.Wilck@suse.com>
To: "zhongjiang@huawei.com" <zhongjiang@huawei.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"opensource@jilayne.com" <opensource@jilayne.com>,
"wang6495@umn.edu" <wang6495@umn.edu>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"axboe@kernel.dk" <axboe@kernel.dk>,
"swinslow@gmail.com" <swinslow@gmail.com>,
"saurav.girepunje@gmail.com" <saurav.girepunje@gmail.com>
Cc: "saurav.girepunje@hotmail.com" <saurav.girepunje@hotmail.com>
Subject: Re: [PATCH] cdrom: gdrom.c: fix a incorrect use of kstrndup()
Date: Fri, 9 Aug 2019 08:19:47 +0000 [thread overview]
Message-ID: <a0f76fa8a8ffd41e9f11a86ab6309b0f426966a8.camel@suse.com> (raw)
In-Reply-To: <20190805184154.GA9776@saurav>
On Tue, 2019-08-06 at 00:11 +0530, Saurav Girepunje wrote:
> According to doc: "Note: Use kmemdup_nul() instead if the size
> is known exactly." So we should use kmemdup_nul() here instead of
> kstrndup().
>
> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
> ---
Reviewed-by: Martin Wilck <mwilck@suse.com>
parent reply other threads:[~2019-08-09 8:39 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20190805184154.GA9776@saurav>]
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=a0f76fa8a8ffd41e9f11a86ab6309b0f426966a8.camel@suse.com \
--to=martin.wilck@suse.com \
--cc=axboe@kernel.dk \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=opensource@jilayne.com \
--cc=saurav.girepunje@gmail.com \
--cc=saurav.girepunje@hotmail.com \
--cc=swinslow@gmail.com \
--cc=tglx@linutronix.de \
--cc=wang6495@umn.edu \
--cc=zhongjiang@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 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®