Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Feb 26, 2015 – Feb 27, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Mike,

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

drivers/clk/clk.c: In function 'clk_disable_unused_subtree':
drivers/clk/clk.c:514:3: error: label 'out' used but not defined
goto out;
^

Caused by commit a2146f032294 ("clk: Use lockdep asserts to find missing hold of prepare_lock"). Commit c440525cb967 ("clk: Remove unneeded NULL checks") removed that label along with the NULL check that a2146f032294 reintroduces (was this a bad rebase?). Please do simple build tests.

I have used the clk tree from next-20150225 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi Mike,

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

drivers/clk/clk.c: In function 'clk_disable_unused_subtree':
drivers/clk/clk.c:514:3: error: label 'out' used but not defined

   goto out;
   ^
Quoted 7 lines

Caused by commit a2146f032294 ("clk: Use lockdep asserts to find missing hold of prepare_lock"). Commit c440525cb967 ("clk: Remove unneeded NULL checks") removed that label along with the NULL check that a2146f032294 reintroduces (was this a bad rebase?). Please do simple build tests.

I have used the clk tree from next-20150225 for today.

Mike,

It seems that my patch did not applied cleanly and the merge introduced such artifacts. My patch adds only lockdep_asserts and does not influence the program flow. I can rebase and resend the patch if you wish.

Best regards,
Krzysztof

#2 lore raw
Quoted 17 lines · Krzysztof Kozlowski
Quoted 16 lines · Stephen Rothwell

Hi Mike,

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

drivers/clk/clk.c: In function 'clk_disable_unused_subtree':
drivers/clk/clk.c:514:3: error: label 'out' used but not defined

   goto out;
   ^

Caused by commit a2146f032294 ("clk: Use lockdep asserts to find missing hold of prepare_lock"). Commit c440525cb967 ("clk: Remove unneeded NULL checks") removed that label along with the NULL check that a2146f032294 reintroduces (was this a bad rebase?). Please do simple build tests.

Quoted 8 lines
Quoted 1 line

I have used the clk tree from next-20150225 for today.

Mike,

It seems that my patch did not applied cleanly and the merge introduced such artifacts. My patch adds only lockdep_asserts and does not influence the program flow. I can rebase and resend the patch if you wish.

It's OK. I fixed it up locally the same day that I applied it but didn't push the change out to my mirror in time to catch -next. It will be fixed the next time Stephen pulls the clk tree.

Regards,
Mike

Quoted 4 lines

Best regards,
Krzysztof

#3 lore raw

Hi Mike,

Quoted 4 lines · On Thu, 26 Feb 2015 16:01:24 -0800 Mike Turquette <[email protected]> wrote:

It's OK. I fixed it up locally the same day that I applied it but didn't push the change out to my mirror in time to catch -next. It will be fixed the next time Stephen pulls the clk tree.

Which I have just done. Thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]