Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 5 messages Jun 20, 2022 – Jun 28, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]

   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Caused by commit

a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

I will send a patch right away. Need to include #include <linux/devm-helpers.h>

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Sunday, June 19, 2022 8:45 PM
To: Sebastian Reichel <[email protected]>
Cc: Asmaa Mnebhi <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build failure after merge of the battery tree

Hi all,

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

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]

   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Caused by commit

a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 8 lines · On Mon, 20 Jun 2022 10:45:03 +1000 Stephen Rothwell <[email protected]>…

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

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]

   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~
Quoted 7 lines

cc1: all warnings being treated as errors

Caused by commit

a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

I am still seeing this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

I sent a patch on Tuesday and added you as a reviewer. Could you please take a look? The name of the email/patch: "[PATCH v1 1/1] linux-next: Fix build failure in pwr-mlxbf.c"

Thanks.
Asmaa

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Thursday, June 23, 2022 10:48 PM
To: Sebastian Reichel <[email protected]>
Cc: Asmaa Mnebhi <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: Re: linux-next: build failure after merge of the battery tree

Hi all,

Quoted 8 lines · On Mon, 20 Jun 2022 10:45:03 +1000 Stephen Rothwell <[email protected]>…

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

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]

   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~
Quoted 7 lines

cc1: all warnings being treated as errors

Caused by commit

a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

I am still seeing this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 12 lines · On Fri, 24 Jun 2022 12:47:30 +1000 Stephen Rothwell <[email protected]>…
Quoted 10 lines · On Mon, 20 Jun 2022 10:45:03 +1000 Stephen Rothwell <[email protected]>…

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

drivers/power/reset/pwr-mlxbf.c: In function 'pwr_mlxbf_probe':
drivers/power/reset/pwr-mlxbf.c:67:15: error: implicit declaration of function 'devm_work_autocancel' [-Werror=implicit-function-declaration]

   67 |         err = devm_work_autocancel(dev, &priv->send_work, pwr_mlxbf_send_work);
      |               ^~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Quoted 7 lines
Quoted 5 lines

Caused by commit

a4c0094fcf76 ("power: reset: pwr-mlxbf: add BlueField SoC power control driver")

I have used the battery tree from next-20220617 for today.

I am still seeing this failure.

I am still getting this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell