mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
"ret" is an int and "buf" is a u8. sdw_read() returns negative error
codes which are truncated to the u8, 0-255 range before being stored as
an int. It means that "ret" can't be less than zero.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| bus.c | ||
| bus.h | ||
| bus_type.c | ||
| cadence_master.c | ||
| cadence_master.h | ||
| intel.c | ||
| intel.h | ||
| intel_init.c | ||
| Kconfig | ||
| Makefile | ||
| mipi_disco.c | ||
| slave.c | ||