• Lars-Peter Clausen's avatar
    iio:ad5686: Mark transfer buffer as __be32 · cf87534b
    Lars-Peter Clausen authored
    Fixes the following warnings from sparse:
    	drivers/iio/dac/ad5686.c:100:25: warning: incorrect type in assignment (different base types)
    	drivers/iio/dac/ad5686.c:100:25:    expected unsigned int [unsigned] [usertype] d32
    	drivers/iio/dac/ad5686.c:100:25:    got restricted __be32 [usertype] <noident>
    	drivers/iio/dac/ad5686.c:122:25: warning: incorrect type in assignment (different base types)
    	drivers/iio/dac/ad5686.c:122:25:    expected unsigned int [unsigned] [usertype] d32
    	drivers/iio/dac/ad5686.c:122:25:    got restricted __be32 [usertype] <noident>
    	drivers/iio/dac/ad5686.c:124:25: warning: incorrect type in assignment (different base types)
    	drivers/iio/dac/ad5686.c:124:25:    expected unsigned int [unsigned] [usertype] d32
    	drivers/iio/dac/ad5686.c:124:25:    got restricted __be32 [usertype] <noident>
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    	drivers/iio/dac/ad5686.c:130:16: warning: cast to restricted __be32
    Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
    cf87534b
ad5686.c 9.46 KB