diff options
| author | Bin Meng <[email protected]> | 2021-09-12 11:15:14 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2021-10-20 10:59:09 +0800 |
| commit | b422ed05f7035c5a6da527ab859bc008cb38ef14 (patch) | |
| tree | a46298544b1b8ce4f5929270e13949c6a6325c1c /include/linux | |
| parent | bdce903106397add4283b713132e24972a6ac0ee (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 <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
