summaryrefslogtreecommitdiffstats
path: root/security/yama/yama_lsm.c
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-10-31 00:54:24 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-11-01 14:54:48 +0000
commitf928099e5f5c3ce60ecbd70ea17614e9b253068f (patch)
tree00b84bd148176bc80b2db7b8053ad42f1dbbf32b /security/yama/yama_lsm.c
parent869aa5e847696bcda8966be9d03de2560226bcc3 (diff)
downloadlinux-stable-f928099e5f5c3ce60ecbd70ea17614e9b253068f.tar.gz
linux-stable-f928099e5f5c3ce60ecbd70ea17614e9b253068f.tar.bz2
linux-stable-f928099e5f5c3ce60ecbd70ea17614e9b253068f.zip
iio: chemical: bme680: use s16 variable for temp value to avoid casting
Use local s16 variable for the temperature channel to avoid casting it later before passing it to the bme680_read_temp() function. This way, possible endianness and initialization issues are avoided. Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com> Link: https://patch.msgid.link/20241030235424.214935-2-vassilisamir@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'security/yama/yama_lsm.c')
0 files changed, 0 insertions, 0 deletions