diff options
author | Edward Cree <ecree@solarflare.com> | 2020-08-20 11:47:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-20 12:00:16 -0700 |
commit | 3e659a82c45076e354d20db4b0776e716c6e7fe3 (patch) | |
tree | 1b1a00d8262e366564d7d9604bb0f78090f065cb /net/smc | |
parent | fb73ed5ef7e1f3b561dae517b9efdf58c153636b (diff) | |
download | linux-3e659a82c45076e354d20db4b0776e716c6e7fe3.tar.bz2 |
sfc: fix build warnings on 32-bit
Truncation of DMA_BIT_MASK to 32-bit dma_addr_t is semantically safe,
but the compiler was warning because it was happening implicitly.
Insert explicit casts to suppress the warnings.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions