aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorSergei Antonov <[email protected]>2022-09-02 11:37:49 +0000
committerPaolo Abeni <[email protected]>2022-09-06 08:24:05 +0000
commit9df696b3b3a4c96c3219eb87c7bf03fb50e490b8 (patch)
treef154a0068b56b7bfafcb2e341095997f8c0700ab /drivers/usb/cdns3/cdns3-ti.c
parentnet: lan966x: Extend lan966x with RGMII support (diff)
downloadkernel-9df696b3b3a4c96c3219eb87c7bf03fb50e490b8.tar.gz
kernel-9df696b3b3a4c96c3219eb87c7bf03fb50e490b8.zip
net: ftmac100: fix endianness-related issues from 'sparse'
Sparse found a number of endianness-related issues of these kinds: .../ftmac100.c:192:32: warning: restricted __le32 degrades to integer .../ftmac100.c:208:23: warning: incorrect type in assignment (different base types) .../ftmac100.c:208:23: expected unsigned int rxdes0 .../ftmac100.c:208:23: got restricted __le32 [usertype] .../ftmac100.c:249:23: warning: invalid assignment: &= .../ftmac100.c:249:23: left side has type unsigned int .../ftmac100.c:249:23: right side has type restricted __le32 .../ftmac100.c:527:16: warning: cast to restricted __le32 Change type of some fields from 'unsigned int' to '__le32' to fix it. Signed-off-by: Sergei Antonov <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions