2022-07-07 05:59:51

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the phy-next tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-07-07 06:10:23

by Vinod Koul

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the phy-next tree

On 07-07-22, 15:39, Stephen Rothwell wrote:
> 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;

Thanks I have fixed that up and pushed updated tree



--
~Vinod