Re: [PATCH] w1: w1_therm: fix missing therm_bulk_read sysfs attribute with multiple bus masters
From: Krzysztof Kozlowski
Date: Wed Sep 30 2026 - 01:23:43 EST
On 27/09/2026 12:43, lorenzo.castellani wrote:
> From 32e145b49cf41ce150a97ce52c63f5aae1bbbea7 Mon Sep 17 00:00:00 2001
> From: Lorenzo Castellani <lorenzo.castellani@xxxxxxxxxx>
> Date: Tue, 22 Sep 2026 11:12:30 +0200
> Subject: [PATCH] w1: w1_therm: fix missing therm_bulk_read sysfs attribute
> with multiple bus masters
Your mailing is corrupted.
> +static int w1_therm_count_bulk_read_slaves(struct w1_master *dev_master,
> + struct w1_slave *exclude_sl)
> +{
> + struct w1_slave *sl;
> + int count = 0;
> +
> + list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) {
> + if (sl != exclude_sl && sl->family_data && bulk_read_support(sl))
> + count++;
> + }
> + return count;
> +}
And here.
Best regards,
Krzysztof