On 11/01/14 14:54, Peter Meerwald wrote:
drivers/iio/pressure/mpl3115.c:101:46: sparse: cast to restricted __be32
drivers/iio/pressure/mpl3115.c:115:46: sparse: cast to restricted __be32
Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx>
Cc: kbuild test robot <fengguang.wu@xxxxxxxxx>
Applied ot the togreg branch of iio.git.
I upped the Cc to a reported-by to give the credit where it is due.
Thanks,
---
drivers/iio/pressure/mpl3115.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
index ac8c8ab..ba6d0c5 100644
--- a/drivers/iio/pressure/mpl3115.c
+++ b/drivers/iio/pressure/mpl3115.c
@@ -77,7 +77,7 @@ static int mpl3115_read_raw(struct iio_dev *indio_dev,
int *val, int *val2, long mask)
{
struct mpl3115_data *data = iio_priv(indio_dev);
- s32 tmp = 0;
+ __be32 tmp = 0;
int ret;
switch (mask) {
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html