[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d292b259-f76d-4e43-9d82-72f4f3c39e5e@roeck-us.net>
Date: Thu, 4 Dec 2025 20:07:04 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: xiaopeitux@...mail.com
Cc: linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
Pei Xiao <xiaopei01@...inos.cn>
Subject: Re: [PATCH] hwmon: (emc2305): fix double put in
emc2305_probe_childs_from_dt
On Fri, Dec 05, 2025 at 10:02:41AM +0800, xiaopeitux@...mail.com wrote:
> From: Pei Xiao <xiaopei01@...inos.cn>
>
> ./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@...inos.cn>
Applied.
Thanks,
Guenter
Powered by blists - more mailing lists