commit | 3e659a82c45076e354d20db4b0776e716c6e7fe3 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Thu Aug 20 11:47:19 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 20 12:00:16 2020 -0700 |
tree | 1b1a00d8262e366564d7d9604bb0f78090f065cb | |
parent | fb73ed5ef7e1f3b561dae517b9efdf58c153636b [diff] |
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>