summaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorAndy Shevchenko2018-06-11 15:47:21 +0200
committerDan Williams2018-12-11 00:58:46 +0100
commit3d9cbe37c16ffd19eeab6b49a0311bbb999627d8 (patch)
tree39d06daf02f50b4d896227790a4df77cde1781d6 /scripts/checkstack.pl
parentlibnvdimm, label: Switch to bitmap_zalloc() (diff)
downloadkernel-qcow2-linux-3d9cbe37c16ffd19eeab6b49a0311bbb999627d8.tar.gz
kernel-qcow2-linux-3d9cbe37c16ffd19eeab6b49a0311bbb999627d8.tar.xz
kernel-qcow2-linux-3d9cbe37c16ffd19eeab6b49a0311bbb999627d8.zip
libnvdimm, namespace: Replace kmemdup() with kstrndup()
kstrndup() takes care of '\0' terminator for the strings. Use it here instead of kmemdup() + explicit terminating the input string. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions