diff options
| author | Wei Yongjun <[email protected]> | 2021-03-12 08:04:23 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2021-03-12 11:55:20 +0100 |
| commit | 3875721e825cf3ab05fc1a52b6cbd76c8d16da51 (patch) | |
| tree | a7c487152abb1821da4fce18130a496896484cbc /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | b41ba2ec54a70908067034f139aa23d0dd2985ce (diff) | |
gpiolib: Fix error return code in gpiolib_dev_init()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 4731210c09f5 ("gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions