opensbi/lib/utils/i2c
Jukka Laitinen 5d025eb235 lib: fix pointer of type 'void *' used in arithmetic
Using "void *" in arithmetic causes errors with strict compiler settings:
"error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]"

Avoid these by calculating on "char *" where 1-byte data size is assumed.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
Reviewed-by: Dong Du <Dd_nirvana@sjtu.edu.cn>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
2022-01-21 21:58:12 +05:30
..
fdt_i2c.c lib: utils/i2c: Add minimal SiFive I2C driver 2021-11-12 10:29:08 +05:30
fdt_i2c_sifive.c lib: fix pointer of type 'void *' used in arithmetic 2022-01-21 21:58:12 +05:30
i2c.c lib: utils/i2c: Add generic I2C configuration library 2021-11-12 10:17:50 +05:30
objects.mk lib: utils/i2c: Add minimal SiFive I2C driver 2021-11-12 10:29:08 +05:30