Skip to contentSkip to conversation

linux-next: build failure after merge of the leds-lj tree

DISCUSSION Mark Brown 2 participants 3 messages Nov 5 – Nov 9 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

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

/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
544 | device_for_each_child_node_scoped(&client->dev, child) {
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
/tmp/next/build/drivers/leds/leds-pca955x.c:554:25: error: use of undeclared identifier 'client'
554 | devm_release_action(&client->dev, pca955x_fwnode_put,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:559:35: error: use of undeclared identifier 'client'
559 | res = devm_add_action_or_reset(&client->dev,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:562:11: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]

  562 |                         return ERR_PTR(res);
      |                                ^~~~~~~~~~~~

5 errors generated.

Caused by commit

abeb74220fefe (leds: pca955x: Take a reference on the child firmware node)

I have used the tree from next-20261104 insted.

#1 lore raw
Quoted 18 lines · Mark Brown

Hi all,

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

/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
544 | device_for_each_child_node_scoped(&client->dev, child) {
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
/tmp/next/build/drivers/leds/leds-pca955x.c:554:25: error: use of undeclared identifier 'client'
554 | devm_release_action(&client->dev, pca955x_fwnode_put,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:559:35: error: use of undeclared identifier 'client'
559 | res = devm_add_action_or_reset(&client->dev,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:562:11: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]

  562 |                         return ERR_PTR(res);
      |                                ^~~~~~~~~~~~
Quoted 8 lines

5 errors generated.

Caused by commit

abeb74220fefe (leds: pca955x: Take a reference on the child firmware node)

I have used the tree from next-20261104 insted.

Looking, thanks.

Signature · 1 line
Lee Jones
author maintainer
#2 lore raw
In reply to Mark Brown
Quoted 18 lines · Mark Brown

Hi all,

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

/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
544 | device_for_each_child_node_scoped(&client->dev, child) {
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:544:37: error: use of undeclared identifier 'client'
/tmp/next/build/drivers/leds/leds-pca955x.c:554:25: error: use of undeclared identifier 'client'
554 | devm_release_action(&client->dev, pca955x_fwnode_put,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:559:35: error: use of undeclared identifier 'client'
559 | res = devm_add_action_or_reset(&client->dev,
| ^
/tmp/next/build/drivers/leds/leds-pca955x.c:562:11: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]

  562 |                         return ERR_PTR(res);
      |                                ^~~~~~~~~~~~
Quoted 8 lines

5 errors generated.

Caused by commit

abeb74220fefe (leds: pca955x: Take a reference on the child firmware node)

I have used the tree from next-20261104 insted.

This issue is still present today.