On Sun, Sep 12, 2021 at 6:16 AM Bin Meng wrote:
>
> The following warning is seen in macb.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_index_ptr(), or cast with uintptr_t.
>
> Signed-off-by: Bin Meng
The following warning is seen in macb.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_index_ptr(), or cast with uintptr_t.
Signed-off-by: Bin Meng
---
drivers/net/macb.c | 11 +++
1 file changed, 3 ins
2 matches
Mail list logo