iio:ad5791: Mark transfer buffers as __be32
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Nov 2013 12:41:00 +0000 (12:41 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 3 Dec 2013 20:22:26 +0000 (20:22 +0000)
commitae8bb9b10124ff266c35507b347b31f34c0fe05d
treed039df8a7ea2457cd1f30ec54c7d10f4e4e78b44
parentedc05f26145c925deeeb7bfa50622e2cb22569b3
iio:ad5791: Mark transfer buffers as __be32

Fixes the following warnings from sparse:
drivers/iio/dac/ad5791.c:114:18: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5791.c:114:18:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5791.c:114:18:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5791.c:142:21: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5791.c:142:21:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5791.c:142:21:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5791.c:144:21: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5791.c:144:21:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5791.c:144:21:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32
drivers/iio/dac/ad5791.c:148:16: warning: cast to restricted __be32

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5791.c