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/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]
484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| trace_rpmh_send_msg_enabledcc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
1d3c6f86fd3f ("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")
fixes the build, so I have done that for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | trace_rpmh_send_msg_enabled
Quoted 8 lines
cc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
1d3c6f86fd3f("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")fixes the build, so I have done that for today.
Ah. I'm guessing the newly added rpmh-rsc code depends on rpmh being built in.
I'll take a look at it.
thanks
-john
Hi all,
Quoted 16 lines · On Tue, 14 Apr 2020 18:18:11 -0700 John Stultz <[email protected]> wrote:
Quoted 14 lines · Stephen Rothwell
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | trace_rpmh_send_msg_enabledcc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
Quoted 8 lines
Quoted 3 lines
1d3c6f86fd3f("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")fixes the build, so I have done that for today.
Ah. I'm guessing the newly added rpmh-rsc code depends on rpmh being built in.
I'll take a look at it.
I am still reverting that commit.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 22 lines · Stephen Rothwell
Hi all,
Quoted 18 lines · On Tue, 14 Apr 2020 18:18:11 -0700 John Stultz <[email protected]> wrote:
Quoted 16 lines · Stephen Rothwell
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | trace_rpmh_send_msg_enabledcc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
1d3c6f86fd3f("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
fixes the build, so I have done that for today.
Ah. I'm guessing the newly added rpmh-rsc code depends on rpmh being built in.
I'll take a look at it.
I am still reverting that commit.
Yea. I've stirred up some discussion on it, but its fairly complicated. Unfortunately I suspect it will take some time to confirm and justify the change I think is needed, so I think reverting this is the best short term plan.
thanks
-john
Hi all,
Quoted 27 lines · On Mon, 20 Apr 2020 19:41:56 -0700 John Stultz <[email protected]> wrote:
Quoted 25 lines · Stephen Rothwell
Quoted 23 lines · On Tue, 14 Apr 2020 18:18:11 -0700 John Stultz <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | trace_rpmh_send_msg_enabledQuoted 8 lines
cc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
1d3c6f86fd3f("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")fixes the build, so I have done that for today.
Ah. I'm guessing the newly added rpmh-rsc code depends on rpmh being built in.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
I'll take a look at it.
I am still reverting that commit.
Yea. I've stirred up some discussion on it, but its fairly complicated. Unfortunately I suspect it will take some time to confirm and justify the change I think is needed, so I think reverting this is the best short term plan.
I am still reverting that commit. It is probably time (we are beyond -rc6 now) that it is either reverted or fixed in the qcom tree, please.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 34 lines · Stephen Rothwell
Hi all,
Quoted 31 lines · On Mon, 20 Apr 2020 19:41:56 -0700 John Stultz <[email protected]> wrote:
Quoted 28 lines · Stephen Rothwell
Quoted 16 lines · On Tue, 14 Apr 2020 18:18:11 -0700 John Stultz <[email protected]> wrote:
Quoted 14 lines · Stephen Rothwell
After merging the qcom tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/soc/qcom/rpmh-rsc.c: In function '__tcs_buffer_write':drivers/soc/qcom/rpmh-rsc.c:484:3: error: implicit declaration of function 'trace_rpmh_send_msg_rcuidle'; did you mean 'trace_rpmh_send_msg_enabled'? [-Werror=implicit-function-declaration]484 | trace_rpmh_send_msg_rcuidle(drv, tcs_id, j, msgid, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | trace_rpmh_send_msg_enabledcc1: some warnings being treated as errors
I don't know why this error only started happening today. However reverting commit
Quoted 8 lines
Quoted 3 lines
1d3c6f86fd3f("soc: qcom: rpmh: Allow RPMH driver to be loaded as a module")fixes the build, so I have done that for today.
Ah. I'm guessing the newly added rpmh-rsc code depends on rpmh being built in.
I'll take a look at it.
I am still reverting that commit.
Quoted 8 lines
Quoted 4 lines
Yea. I've stirred up some discussion on it, but its fairly complicated. Unfortunately I suspect it will take some time to confirm and justify the change I think is needed, so I think reverting this is the best short term plan.
I am still reverting that commit. It is probably time (we are beyond -rc6 now) that it is either reverted or fixed in the qcom tree, please.
Thanks for the reminder Stephen, I've pushed the revert out to the qcom branch now.
Regards,
Bjorn