aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-02-28 05:35:51 +0000
committerRichard Weinberger <[email protected]>2019-03-05 20:21:07 +0000
commit5578e48e5c0bf4684e68ae08caa2293bfb3f5307 (patch)
treebd138a3c79da25f6600069a24acc0d76502b47c0 /lib/string_helpers.c
parentubifs: Reject unsupported ioctl flags explicitly (diff)
downloadkernel-5578e48e5c0bf4684e68ae08caa2293bfb3f5307.tar.gz
kernel-5578e48e5c0bf4684e68ae08caa2293bfb3f5307.zip
ubi: wl: Silence uninitialized variable warning
This condition needs to be fipped around because "err" is uninitialized when "force" is set. The Smatch static analysis tool complains and UBsan will also complain at runtime. Fixes: 663586c0a892 ("ubi: Expose the bitrot interface") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions