Skip to content
Commit b422ed05 authored by Bin Meng's avatar Bin Meng Committed by Leo Yu-Chi Liang
Browse files

net: macb: Fix -Wint-to-pointer-cast warnings



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: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent bdce9031
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment