diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-09-09 07:49:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-09 13:21:19 +0300 |
commit | e011912651bdf72840d88e8a8de3716bbcc4be99 (patch) | |
tree | 6cbf61c52cabc40f7f0d5cbbb32df097c3e34a61 /drivers/net/ethernet/intel | |
parent | e3a843f98c8fad4d02849fdb14919885024bf51f (diff) | |
download | linux-e011912651bdf72840d88e8a8de3716bbcc4be99.tar.xz |
net: ni65: Avoid typecast of pointer to u32
Building alpha:allmodconfig results in the following error.
drivers/net/ethernet/amd/ni65.c: In function 'ni65_stop_start':
drivers/net/ethernet/amd/ni65.c:751:37: error:
cast from pointer to integer of different size
buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer);
'buffer[]' is declared as unsigned long, so replace the typecast to u32
with a typecast to unsigned long to fix the problem.
Cc: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions