mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
78b75ab3f8
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> |
||
---|---|---|
.. | ||
ams-iaq-core.c | ||
atlas-ph-sensor.c | ||
bme680_core.c | ||
bme680_i2c.c | ||
bme680_spi.c | ||
bme680.h | ||
ccs811.c | ||
Kconfig | ||
Makefile | ||
pms7003.c | ||
sgp30.c | ||
sps30.c | ||
vz89x.c |