Re: [PATCH] thermal/drivers/qcom/spm mbg tm: Fix missing bitfield header

Dmitry Baryshkov <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <kjsn3qdfvvwuwv7sqqbczrtfc32d5ycdygams3ajpzyqxlbqgg@awsxd4tluphm>
On Tue, Aug 11, 2026 at 11:49:35AM +0200, Daniel Lezcano wrote:
> From: Daniel Lezcano <[email protected]>
> 
> Add missing bitfield header leading to the error:
> 
> >> drivers/thermal/qcom/qcom-spmi-mbg-tm.c:184:21: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
>      184 |                 if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR)
>          |                     ^~~~~~~~~
> 
> Fixes: c3dce117333c ( "thermal/drivers/qcom: Add support for Qualcomm MBG thermal monitoring")
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Daniel Lezcano <[email protected]>
> ---
>  drivers/thermal/qcom/qcom-spmi-mbg-tm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <[email protected]>


-- 
With best wishes
Dmitry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.