diff options
author | 2020-01-04 15:31:43 +0100 | |
---|---|---|
committer | 2020-01-06 13:30:03 -0800 | |
commit | 00c0688cecadbf7ac2f5b4cdb36d912a2d3f0cca (patch) | |
tree | e80d05974f90dbb82042a1a86de8c33a85547552 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY (diff) | |
download | linux-dev-00c0688cecadbf7ac2f5b4cdb36d912a2d3f0cca.tar.xz linux-dev-00c0688cecadbf7ac2f5b4cdb36d912a2d3f0cca.zip |
net: wan: sdla: Fix cast from pointer to integer of different size
Since net_device.mem_start is unsigned long, it should not be cast to
int right before casting to pointer. This fixes warning (compile
testing on alpha architecture):
drivers/net/wan/sdla.c: In function ‘sdla_transmit’:
drivers/net/wan/sdla.c:711:13: warning:
cast to pointer from integer of different size [-Wint-to-pointer-cast]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions