aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2018-01-24 14:10:48 +0000
committerMark Brown <[email protected]>2018-01-24 15:03:31 +0000
commit34b1fcaeb21de2a64004a95a1dc52d7e9998b733 (patch)
treed529ad542665292b1f2eb601980069ce222e8b88 /net/unix/af_unix.c
parentspi: a3700: Remove endianness swapping functions when accessing FIFOs (diff)
downloadkernel-34b1fcaeb21de2a64004a95a1dc52d7e9998b733.tar.gz
kernel-34b1fcaeb21de2a64004a95a1dc52d7e9998b733.zip
spi: a3700: Remove endianness swapping for full-duplex transfers
Fixes the following sparse warnings : line 767: warning: incorrect type in assignment (different base types) line 767: expected unsigned int [unsigned] [assigned] [usertype] val_out line 767: got restricted __le32 [usertype] <noident> line 776: warning: cast to restricted __le32 This takes advantage of readl/writel to do the endianness reordering, and removes an extra variable in the function. Fixes: f68a7dcb91b7 ("spi: a3700: Add full-duplex support") Signed-off-by: Maxime Chevallier <[email protected]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions