diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-13 12:02:55 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-18 20:55:05 +0200 |
commit | 1123c084d75116bb6d4a0ff3801facde786093a5 (patch) | |
tree | cd51fd3a93de12d06a22d155fe5011758ae468c6 /drivers/iio/dummy | |
parent | iio: chemical: sps30: Explicity truncate constant by masking (diff) | |
download | linux-1123c084d75116bb6d4a0ff3801facde786093a5.tar.xz linux-1123c084d75116bb6d4a0ff3801facde786093a5.zip |
iio: gyro: mpu3050: Explicity make a 'poison' value big endian
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@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/iio/dummy')
0 files changed, 0 insertions, 0 deletions