diff options
author | Tom Rix <trix@redhat.com> | 2021-12-18 07:27:12 -0800 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-12-19 14:47:30 +0100 |
commit | c08995bff202f102c0eff7b799b6b91b748a02a2 (patch) | |
tree | fc373967e87dcbc7e79b06a5a1b7c275d0786455 /Documentation/devicetree/bindings/gpio | |
parent | gpio: Propagate firmware node from a parent device (diff) | |
download | linux-dev-c08995bff202f102c0eff7b799b6b91b748a02a2.tar.xz linux-dev-c08995bff202f102c0eff7b799b6b91b748a02a2.zip |
gpio: sim: fix uninitialized ret variable
Building with clang returns this error:
gpio-sim.c:889:7: error: variable 'ret' is uninitialized
when used here
ret should be the status of the call to
gpio_sim_make_bank_swnode stored in bank->swnode.
Fixes: 83960fcf4818 ("gpio: sim: new testing module")
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
0 files changed, 0 insertions, 0 deletions