linux-next: build failure after merge of the phy-next tree

From: Stephen Rothwell
Date: Thu Jul 07 2022 - 01:51:42 EST


Hi all,

After merging the phy-next tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/phy/qualcomm/phy-qcom-qmp-combo.c: In function 'qcom_qmp_phy_combo_vreg_init':
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:2004:9: error: 'Return' undeclared (first use in this function)
2004 | Return 0;
| ^~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:2004:9: note: each undeclared identifier is reported only once for each function it appears in
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:2004:15: error: expected ';' before numeric constant
2004 | Return 0;
| ^~
| ;
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:2005:1: error: control reaches end of non-void function [-Werror=return-type]
2005 | }
| ^
cc1: all warnings being treated as errors

Caused by commit

6bd9a9be5d73 ("phy: qcom-qmp: add regulator_set_load to dp phy")

I have used the phy-next tree from next-20220706 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpwPyrS3xYHq.pgp
Description: OpenPGP digital signature