Re: [PATCH] iio: gyro: mpu3050: Explicity make a 'poison' value big endian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 13, 2019 at 12:05 PM <jic23@xxxxxxxxxx> wrote:

> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
>
> This clearly has no actual affect but it does show sparse and similar
> static analysers that we are doing this intentionally.
>
> CHECK   drivers/iio/gyro/mpu3050-core.c
> drivers/iio/gyro/mpu3050-core.c:546:48: warning: incorrect type in assignment (different base types)
> drivers/iio/gyro/mpu3050-core.c:546:48:    expected restricted __be16 <noident>
> drivers/iio/gyro/mpu3050-core.c:546:48:    got int
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux