summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>2016-11-26 20:18:04 +0100
committerDan Williams <dan.j.williams@intel.com>2016-11-28 22:41:17 +0100
commit238b323a681dd4a5ea0c651fdf4e6ee91a09a9ba (patch)
treeab9d907c95dc1d8d3c7b64101c5f2b82fe4ccf08 /net
parentlibnvdimm: use consistent naming for request_mem_region() (diff)
downloadlinux-238b323a681dd4a5ea0c651fdf4e6ee91a09a9ba.tar.xz
linux-238b323a681dd4a5ea0c651fdf4e6ee91a09a9ba.zip
libnvdimm, namespace: fix the type of name variable
In create_namespace_blk(), the local variable "name" is defined as an array of NSLABEL_NAME_LEN pointers: char *name[NSLABEL_NAME_LEN]; This variable is then used in calls to memcpy() and kmemdup() as if it were char[NSLABEL_NAME_LEN]. Remove the star in the variable definition to makes it look right. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions