WSL2-Linux-Kernel/drivers/w1
Dan Carpenter 629e97f0c8 w1: fix loop in w1_fini()
[ Upstream commit 83f3fcf96f ]

The __w1_remove_master_device() function calls:

	list_del(&dev->w1_master_entry);

So presumably this can cause an endless loop.

Fixes: 7785925dd8 ("[PATCH] w1: cleanups.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:47:20 +02:00
..
masters
slaves
Kconfig
Makefile
w1.c
w1_family.c
w1_int.c
w1_internal.h
w1_io.c
w1_netlink.c
w1_netlink.h