Re: [PATCH] hwmon: (ltq-cputemp) depend on HWMON=y
From: Guenter Roeck
Date: Fri Dec 04 2026 - 00:33:22 EST
On Fri, Dec 04, 2026 at 09:54:41AM +0800, Pengpeng Hou wrote:
> The XWAY temperature driver is selected by a boolean option under HWMON.
> With HWMON=m the selected built-in object is not included by that
> directory descent.
>
> Require HWMON=y for this platform driver. This avoids advertising an
> unbuilt sensor; it does not implement a loadable XWAY sensor.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 7074d0a92758 ("hwmon: (ltq-cputemp) add cpu temp sensor driver")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
Applied.
Thanks,
Guenter