Re: [PATCH 8/9] w1: w1_therm: lock the list of slaves for the bulk read

From: Krzysztof Kozlowski

Date: Fri Oct 30 2026 - 09:46:39 EST


On 27/10/2026 17:04, Greg Kroah-Hartman wrote:
> From: Josef Bacik <josef@xxxxxxxxxxxxxx>
>
> The callbacks of the file therm_bulk_read walk the list of the slaves of
> the master, trigger_bulk_read() three times and therm_bulk_read_show()
> once, without the list_mutex which protects it. In the meantime the
> thread of the master may find out that a sensor has gone:
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Best regards,
Krzysztof