linux-next: build failure after merge of the leds-lj tree
Mark Brown
maintainerHi 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.
Quoted 18 lines · Mark Brown
Hi all,
After merging the leds-lj tree, today's linux-next build (
x86_64allmodconfig) 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
Mark Brown
maintainerQuoted 18 lines · Mark Brown
Hi all,
After merging the leds-lj tree, today's linux-next build (
x86_64allmodconfig) 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.