Re: [PATCH v4 0/3] soc: qcom: ubwc: Fix link error

Nathan Chancellor <[email protected]>
Newsgroups org.kernel.vger.linux-arm-msm,dev.linux.lists.imx,org.kernel.vger.linux-kernel
Message-ID <20260814170621.GA532729@ax162>
On Fri, Aug 14, 2026 at 09:42:52AM +0300, Daniel Baluta wrote:
> On 8/14/26 02:23, Nathan Chancellor wrote:
> >   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]
> >      45 |         return ERR_PTR(-EOPNOTSUPP);
> >         |                ^~~~~~~
> >   include/linux/soc/qcom/ubwc.h:45:25: error: 'EOPNOTSUPP' undeclared (first use in this function)
> 
> Hi Nathan,
> 
> This issue is pre-existing and I've sent a separate fix for it:
> 
> https://lore.kernel.org/all/5fy7l6o5nfzclsmhsqys562xwoilbo4xv3af65kcqugtitgltd@3fw2w443pw2g/#r

Sure, it is a pre-existing issue but it is only exposed by making
CONFIG_QCOM_UBWC_CONFIG an optional selection for these drivers, so I
think that patch should be a part of this series. Otherwise, I don't see
how you could actually trigger such an error.

-- 
Cheers,
Nathan
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.