diff options
| author | Giovanni Gherdovich <bobdc9664@seznam.cz> | 2021-03-06 17:13:22 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-10 11:25:33 +0300 |
| commit | 275b6bd538c473df588868e53587f0f4f3378da3 (patch) | |
| tree | cf01a0194e7f0b8186f16809fc95c099d0dac077 /scripts | |
| parent | 60df0e7aaa70cbf86c7cdbbced048572a36017c3 (diff) | |
| download | linux-275b6bd538c473df588868e53587f0f4f3378da3.tar.xz | |
staging: ralink-gdma: Check return code of device_reset
The device_reset() function is marked as "__must_check", thus the static
analysis tool "sparse" complains that in ralink-gdma its return value is
ignored. Log a warning in case it returns an error.
Signed-off-by: Giovanni Gherdovich <bobdc9664@seznam.cz>
Link: https://lore.kernel.org/r/20210306141322.7516-1-bobdc9664@seznam.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
