cdrom: gdrom.c: fix a incorrect use of kstrndup()
A message that is not in the archive (sent off-list or not yet received): 20190805184154.GA9776@saurav
Martin Wilck
Reviewed-byQuoted 6 lines · Saurav Girepunje
According to doc: "Note: Use
kmemdup_nul()instead if the size is known exactly." So we should usekmemdup_nul()here instead ofkstrndup().Signed-off-by Saurav Girepunje <[email protected]>---
Reviewed-by Martin Wilck <[email protected]>