diff options
author | Maxime Chevallier <[email protected]> | 2018-01-24 15:10:47 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-01-24 15:03:13 +0000 |
commit | 162f8debc01f48ac984ed6d7291743053ec90271 (patch) | |
tree | 18672497a16093a6c28bf3d3ea8d64895387049a /net/unix/sysctl_net_unix.c | |
parent | f68a7dcb91b7957c5bb1c3e347775332af719519 (diff) |
spi: a3700: Remove endianness swapping functions when accessing FIFOs
Fixes the following sparse warnings :
line 504: warning: incorrect type in assignment (different base types)
line 504: expected unsigned int [unsigned] [usertype] val
line 504: got restricted __le32 [usertype] <noident>
line 527: warning: cast to restricted __le32
This is solved by removing endian-converson functions, since the
converted values are going through readl/writel anyway, which take care
of the conversion.
Fixes: 6fd6fd68c9e2 ("spi: armada-3700: Fix padding when sending not 4-byte aligned data")
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/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions