1
0
mirror of https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git synced 2026-10-24 00:48:53 +03:00
Files
libgpiod/dbus
Bartosz Golaszewski 424e02c706 dbus: manager: use the correct loop counter in error path
In gpiodbus_daemon_export_lines(), the daemon iterates over all GPIO
lines on a chip and establishes kernel watch file descriptors for
line-info events. On failure, it attempts to clean up previously
established watches but it uses i instead of j to refer to the line it
wants to unwatch. Use the correct counter variable for the inner loop.

Fixes: a5ab76da1e ("dbus: add the D-Bus daemon, command-line client and tests")
Reported-by: 4fqr <4fqr@proton.me>
Tested-by: Vincent Fazio <vfazio@xes-inc.com>
Reviewed-by: Vincent Fazio <vfazio@xes-inc.com>
Link: https://patch.msgid.link/20260407-treewide-fixes-v1-14-66c9744a56a3@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
2026-04-09 09:34:15 +02:00
..
2025-02-17 09:44:45 +01:00
2025-10-01 15:59:42 +02:00