linux-next: build failure after merge of the qcom tree
Hi all,
After merging the qcom tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/clk/qcom/camcc-sm8150.c: In function 'cam_cc_sm8150_probe':drivers/clk/qcom/camcc-sm8150.c:2141:36: error: passing argument 1 of 'qcom_cc_really_probe' from incompatible pointer type [-Werror=incompatible-pointer-types]
2141 | ret = qcom_cc_really_probe(pdev, &cam_cc_sm8150_desc, regmap);
| ^~~~
| |
| struct platform_device *
In file included from drivers/clk/qcom/camcc-sm8150.c:21:
drivers/clk/qcom/common.h:72:48: note: expected 'struct device *' but argument is of type 'struct platform_device *'
72 | extern int qcom_cc_really_probe(struct device *dev,
| ~~~~~~~~~~~~~~~^~~cc1: all warnings being treated as errors
Caused by commit
ea73b7aceff6 ("clk: qcom: Add camera clock controller driver for SM8150")
I have used the qcom tree from next-20240801 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen, Bjorn,
Apologies for the error, I have posted a patch [1] to fix it.
[1] https://lore.kernel.org/linux-arm-msm/[email protected]/
Thanks,
Satya Priya
Quoted 23 lines · Stephen Rothwell
Hi all,
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/clk/qcom/camcc-sm8150.c: In function 'cam_cc_sm8150_probe':drivers/clk/qcom/camcc-sm8150.c:2141:36: error: passing argument 1 of 'qcom_cc_really_probe' from incompatible pointer type [-Werror=incompatible-pointer-types]2141 | ret = qcom_cc_really_probe(pdev, &cam_cc_sm8150_desc, regmap); | ^~~~ | | | struct platform_device *In file included from
drivers/clk/qcom/camcc-sm8150.c:21:drivers/clk/qcom/common.h:72:48: note: expected 'struct device *' but argument is of type 'structplatform_device*'
72 | extern int qcom_cc_really_probe(struct device *dev,
| ~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errorsCaused by commit
ea73b7aceff6("clk: qcom: Add camera clock controller driver for SM8150")I have used the qcom tree from next-20240801 for today.