diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-01-04 15:31:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-05 13:03:36 +0000 |
| commit | b6547a7db83929a457adad01a97eaf70c9a76dd6 (patch) | |
| tree | 8e19b0249b500e6297799186371681c629354099 /crypto/algapi.c | |
| parent | 93e0aca969d9833e923a41bc46ea1ede0a463bd9 (diff) | |
net: wan: sdla: Fix cast from pointer to integer of different size
[ Upstream commit 00c0688cecadbf7ac2f5b4cdb36d912a2d3f0cca ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions
