mirror of
https://github.com/qemu/qemu.git
synced 2025-10-28 06:54:53 +00:00
Some SMBus operations restart the transfer to convert from write to read mode without an intervening i2c_end_transfer(). The second call cannot fail, so the return code is unchecked, but this causes Coverity to complain. So add some asserts and documentation about this. Signed-off-by: Corey Minyard <cminyard@mvista.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
|---|---|---|
| .. | ||
| aspeed_i2c.c | ||
| bitbang_i2c.c | ||
| bitbang_i2c.h | ||
| core.c | ||
| exynos4210_i2c.c | ||
| i2c-ddc.c | ||
| imx_i2c.c | ||
| Makefile.objs | ||
| omap_i2c.c | ||
| pm_smbus.c | ||
| smbus_eeprom.c | ||
| smbus_ich9.c | ||
| smbus.c | ||
| versatile_i2c.c | ||