All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] cdrom: gdrom.c: fix a incorrect use of kstrndup()
       [not found] <20190805184154.GA9776@saurav>
@ 2019-08-09  8:19 ` Martin Wilck
  0 siblings, 0 replies; only message in thread
From: Martin Wilck @ 2019-08-09  8:19 UTC (permalink / raw)
  To: zhongjiang, gregkh, opensource, wang6495, linux-kernel, tglx,
	axboe, swinslow, saurav.girepunje
  Cc: saurav.girepunje

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-09  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190805184154.GA9776@saurav>
2019-08-09  8:19 ` [PATCH] cdrom: gdrom.c: fix a incorrect use of kstrndup() Martin Wilck

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.