diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-28 08:35:51 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-03-05 21:21:07 +0100 |
commit | 5578e48e5c0bf4684e68ae08caa2293bfb3f5307 (patch) | |
tree | bd138a3c79da25f6600069a24acc0d76502b47c0 /include/uapi | |
parent | 2fe8b2d5578d7d142982e3bf62e4c0caf8b8fe02 (diff) | |
download | linux-stable-5578e48e5c0bf4684e68ae08caa2293bfb3f5307.tar.gz linux-stable-5578e48e5c0bf4684e68ae08caa2293bfb3f5307.tar.bz2 linux-stable-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 <dan.carpenter@oracle.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions