commit | 81ce637b345908f996afa5c3f4f593cd8f1b955c | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Sep 12 11:15:14 2021 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed Oct 20 10:59:09 2021 +0800 |
tree | a46298544b1b8ce4f5929270e13949c6a6325c1c | |
parent | 21cdfea76ca698d7093fda94bfda2851e01ef388 [diff] |
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: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>