* [PATCH] soc: qcom: ubwc: Fix missing include
@ 2026-08-12 13:26 Daniel Baluta
2026-08-12 14:32 ` Dmitry Baryshkov
2026-08-17 7:59 ` Konrad Dybcio
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Baluta @ 2026-08-12 13:26 UTC (permalink / raw)
To: andersson, konradybcio
Cc: robin.clark, dmitry.baryshkov, linux-arm-msm, linux-kernel,
Daniel Baluta
When CONFIG_QCOM_UBWC_CONFIG=n, compiler needs to know the definition
of ERR_PTR otherwise there will be a compilation error:
In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:7:
./include/linux/soc/qcom/ubwc.h: In function ‘qcom_ubwc_config_get_data’:
./include/linux/soc/qcom/ubwc.h:45:16: error: implicit declaration of
function ‘ERR_PTR’ [-Wimplicit-function-declaration]
Fix this by including <linux/err.h>
Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
include/linux/soc/qcom/ubwc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/soc/qcom/ubwc.h b/include/linux/soc/qcom/ubwc.h
index a7372d9c25fbc..f3a70360b177b 100644
--- a/include/linux/soc/qcom/ubwc.h
+++ b/include/linux/soc/qcom/ubwc.h
@@ -8,6 +8,7 @@
#define __QCOM_UBWC_H__
#include <linux/bits.h>
+#include <linux/err.h>
#include <linux/printk.h>
#include <linux/types.h>
--
2.45.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: qcom: ubwc: Fix missing include
2026-08-12 13:26 [PATCH] soc: qcom: ubwc: Fix missing include Daniel Baluta
@ 2026-08-12 14:32 ` Dmitry Baryshkov
2026-08-17 7:59 ` Konrad Dybcio
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2026-08-12 14:32 UTC (permalink / raw)
To: Daniel Baluta
Cc: andersson, konradybcio, robin.clark, linux-arm-msm, linux-kernel
On Wed, Aug 12, 2026 at 04:26:21PM +0300, Daniel Baluta wrote:
> When CONFIG_QCOM_UBWC_CONFIG=n, compiler needs to know the definition
> of ERR_PTR otherwise there will be a compilation error:
>
> In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:7:
> ./include/linux/soc/qcom/ubwc.h: In function ‘qcom_ubwc_config_get_data’:
> ./include/linux/soc/qcom/ubwc.h:45:16: error: implicit declaration of
> function ‘ERR_PTR’ [-Wimplicit-function-declaration]
>
> Fix this by including <linux/err.h>
>
> Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider")
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> ---
> include/linux/soc/qcom/ubwc.h | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: qcom: ubwc: Fix missing include
2026-08-12 13:26 [PATCH] soc: qcom: ubwc: Fix missing include Daniel Baluta
2026-08-12 14:32 ` Dmitry Baryshkov
@ 2026-08-17 7:59 ` Konrad Dybcio
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-08-17 7:59 UTC (permalink / raw)
To: Daniel Baluta, andersson, konradybcio
Cc: robin.clark, dmitry.baryshkov, linux-arm-msm, linux-kernel
On 8/12/26 3:26 PM, Daniel Baluta wrote:
> When CONFIG_QCOM_UBWC_CONFIG=n, compiler needs to know the definition
> of ERR_PTR otherwise there will be a compilation error:
>
> In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:7:
> ./include/linux/soc/qcom/ubwc.h: In function ‘qcom_ubwc_config_get_data’:
> ./include/linux/soc/qcom/ubwc.h:45:16: error: implicit declaration of
> function ‘ERR_PTR’ [-Wimplicit-function-declaration]
>
> Fix this by including <linux/err.h>
>
> Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider")
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-17 8:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 13:26 [PATCH] soc: qcom: ubwc: Fix missing include Daniel Baluta
2026-08-12 14:32 ` Dmitry Baryshkov
2026-08-17 7:59 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®