diff options
author | Edward Cree <ecree@solarflare.com> | 2020-08-20 12:47:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-20 21:00:16 +0200 |
commit | 3e659a82c45076e354d20db4b0776e716c6e7fe3 (patch) | |
tree | 1b1a00d8262e366564d7d9604bb0f78090f065cb /net | |
parent | net: phy: mscc: Fix a couple of spelling mistakes "spcified" -> "specified" (diff) | |
download | linux-3e659a82c45076e354d20db4b0776e716c6e7fe3.tar.xz linux-3e659a82c45076e354d20db4b0776e716c6e7fe3.zip |
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')
0 files changed, 0 insertions, 0 deletions