[PATCH] staging: ralink-gdma: Check return code of device_reset

2021-03-06 Thread Giovanni Gherdovich
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 --- drivers/staging/ralink-gdma/ralink-gdm

[PATCH] staging: octeon: indent with tabs instead of spaces

2019-11-18 Thread Giovanni Gherdovich
Remove a coding style error from the Octeon driver's tree and keep checkpatch.pl a little quieter. Being a white-spaces patch the chances of breakage are minimal; we don't have the hardware to run this driver so we built it with COMPILE_TEST enabled on an x86 machine. Signed-off-by: Giovanni