aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-06-07 18:25:25 +0300
committerDan Williams <[email protected]>2022-07-14 11:23:36 -0700
commit36a40c37389c7a1bef3f1024c55c056304acf439 (patch)
tree2089d9da3c371f16042893aa302484c8839c12ab /lib/test_fortify/write_overflow-strncpy-src.c
parent32346491ddf24599decca06190ebca03ff9de7f8 (diff)
nvdimm/namespace: return uuid_null only once in nd_dev_to_uuid()
Refactor nd_dev_to_uuid() in order to make code shorter and cleaner by joining conditions and hence returning uuid_null only once. 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