[PATCH 4/9] i2c: ocores: Fix -Wint-to-pointer-cast warning
Leo Liang
ycliang at andestech.com
Wed Sep 15 06:39:30 CEST 2021
On Sun, Sep 12, 2021 at 11:15:11AM +0800, Bin Meng wrote:
> The following warning is seen in ocores_i2c.c in a 32-bit build:
>
> warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> Change to use dev_read_addr_ptr().
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> drivers/i2c/ocores_i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list