zephyr/drivers/w1
Thomas Stranger 505cc19941 drivers: w1: fix return check in bit_read for w1-gpio
The driver masked the return value of a pin read operation before
checking the error.
Thus not detecting a potential error and leading to logically
dead code, which was detected by coverity in CID 340853.
Anther instance XORs 1 before returning, resulting in an unexpected
return value;

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-02-08 12:14:36 +00:00
..
CMakeLists.txt drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig.ds2477_85
Kconfig.ds2482-800
Kconfig.ds2484
Kconfig.ds2485
Kconfig.test
Kconfig.zephyr_gpio drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig.zephyr_serial drivers: w1: Add dependency to UART runtime configuration 2023-11-15 10:02:18 +01:00
w1_common.c
w1_ds2477_85_common.c
w1_ds2477_85_common.h
w1_ds2482-800.c
w1_ds2482-800.h
w1_ds2482-800_channel.c
w1_ds2482_84_common.h
w1_ds2484.c
w1_ds2485.c
w1_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
w1_net.c
w1_shell.c
w1_test.c
w1_zephyr_gpio.c drivers: w1: fix return check in bit_read for w1-gpio 2024-02-08 12:14:36 +00:00
w1_zephyr_serial.c