On Sun, Oct 13, 2019 at 12:19 PM <jic23@xxxxxxxxxx> wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > There is a somewhat interesting mixture of be16 and le16 going on in > this one function. Changes here formalize that a little more. > > CHECK drivers/iio/pressure/bmp280-core.c > drivers/iio/pressure/bmp280-core.c:215:35: warning: cast to restricted __le16 > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16 > drivers/iio/pressure/bmp280-core.c:237:37: warning: cast to restricted __le16 > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij