Re: [PATCH] hwmon: (emc2305): fix double put in emc2305_probe_childs_from_dt

From: Guenter Roeck

Date: Thu Dec 04 2025 - 23:07:06 EST


On Fri, Dec 05, 2025 at 10:02:41AM +0800, xiaopeitux@xxxxxxxxxxx wrote:
> From: Pei Xiao <xiaopei01@xxxxxxxxxx>
>
> ./drivers/hwmon/emc2305.c:597:4-15: ERROR: probable double put
>
> Device node iterators put the previous value of the index variable, so an
> explicit put causes a double put.
>
> Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx>

Applied.

Thanks,
Guenter