Commit f32ea7aa authored by Yo-Jung (Leo) Lin's avatar Yo-Jung (Leo) Lin Committed by Jonathan Cameron
Browse files

iio: pressure: bmp280: Fix uninitialized variable



clang found that the "offset" in bmp580_trigger_handler doesn't get
initialized before access. Add proper initialization to this variable.

Signed-off-by: default avatarYo-Jung Lin (Leo) <0xff07@gmail.com>
Link: https://patch.msgid.link/20241011115334.367736-1-0xff07@gmail.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 220c71da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment