diff options
author | Andy Shevchenko <[email protected]> | 2022-06-07 19:49:37 +0300 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-07-14 13:48:49 -0700 |
commit | d34213ebfea31229411583716a9ebe3610bf2d29 (patch) | |
tree | bc7122fd97f1d5c3a637a7f6613881219449ac97 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 69053101e096c01a4c8e3d2497e3cd5716e43cec (diff) |
nvdimm/namespace: drop nested variable in create_namespace_pmem()
Kernel build bot reported:
namespace_devs.c:1991:10: warning: Local variable 'uuid' shadows outer variable [shadowVariable]
Refactor create_namespace_pmem() by dropping a nested version of
the same variable.
Fixes: d1c6e08e7503 ("libnvdimm/labels: Add uuid helpers")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions