WSL2-Linux-Kernel/drivers/iio
Jonathan Cameron 78b75ab3f8 iio: chemical: sps30: Explicity truncate constant by masking
When breaking up a constant to write to two 8 bit registers
it isn't obvious to sparse that it was intentional.

CHECK   drivers/iio/chemical/sps30.c
drivers/iio/chemical/sps30.c:120:30: warning: cast truncates bits from constant value (8004 becomes 4)

So in the interests of minimising noisy warnings, let us add
a mask.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Tomasz Duszynski <tduszyns@gmail.com>
2019-10-18 19:52:03 +01:00
..
accel First set of IIO fixes for the 5.4 cycle. 2019-10-10 11:18:37 +02:00
adc iio: adc: stmpe-adc: Cleanup endian type of local variable 2019-10-18 19:49:03 +01:00
afe
amplifiers
buffer
chemical iio: chemical: sps30: Explicity truncate constant by masking 2019-10-18 19:52:03 +01:00
common
dac iio: dac: ad7303: replace mlock with own lock 2019-10-15 21:11:07 +01:00
dummy
frequency
gyro iio: gyro: clean up indentation issue 2019-10-07 21:31:22 +01:00
health
humidity
imu iio: imu: st_lsm6dsx: add support to LSM6DS0 2019-10-15 21:11:07 +01:00
light iio: light: Add support for ADUX1020 sensor 2019-10-15 21:11:02 +01:00
magnetometer
multiplexer
orientation
potentiometer
potentiostat
pressure First set of IIO new device support, cleanups and features for the 5.5 cycle 2019-10-13 10:59:05 +02:00
proximity iio: proximity: sx9500: fix iio_triggered_buffer_{predisable,postenable} positions 2019-10-07 21:31:19 +01:00
resolver
temperature
trigger
Kconfig
Makefile
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: core: Add optional symbolic label to device attributes 2019-10-07 21:31:18 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c