aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_spi.c
diff options
context:
space:
mode:
authorSergei Antonov <[email protected]>2022-09-02 12:50:37 +0000
committerPaolo Abeni <[email protected]>2022-09-06 08:24:42 +0000
commit03fdb11da92fde0bdc0b6e9c1c642b7414d49e8d (patch)
tree927c71f4417f29ce0014794cfe6f4a928031fc4a /drivers/net/dsa/microchip/ksz_spi.c
parentnet: ftmac100: fix endianness-related issues from 'sparse' (diff)
downloadkernel-03fdb11da92fde0bdc0b6e9c1c642b7414d49e8d.tar.gz
kernel-03fdb11da92fde0bdc0b6e9c1c642b7414d49e8d.zip
net: moxa: fix endianness-related issues from 'sparse'
Sparse checker found two endianness-related issues: .../moxart_ether.c:34:15: warning: incorrect type in assignment (different base types) .../moxart_ether.c:34:15: expected unsigned int [usertype] .../moxart_ether.c:34:15: got restricted __le32 [usertype] .../moxart_ether.c:39:16: warning: cast to restricted __le32 Fix them by using __le32 type instead of u32. Signed-off-by: Sergei Antonov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_spi.c')
0 files changed, 0 insertions, 0 deletions