linux-next: build failure after merge of the leds tree
Hi all,
After merging the leds tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/leds/leds-lm3692x.c: In function 'lm3692x_max_brightness':drivers/leds/leds-lm3692x.c:355:9: error: 'struct lm3692x_led' has no member named 'brightness_ctrl'
355 | if (led->brightness_ctrl & LM3692X_MAP_MODE_EXP) {
| ^~drivers/leds/leds-lm3692x.c: In function 'lm3692x_probe_dt':drivers/leds/leds-lm3692x.c:437:61: error: 'max_cur' undeclared (first use in this function)
437 | ret = fwnode_property_read_u32(child, "led-max-microamp", &max_cur);
| ^~~~~~~
Caused by commit
ef791c4d0ce8 ("leds: lm3692x: Make sure we don't exceed the maximum LED current")
I have used the leds tree from next-20191220 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi,
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the leds tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/leds/leds-lm3692x.c: In function 'lm3692x_max_brightness':drivers/leds/leds-lm3692x.c:355:9: error: 'structlm3692x_led' has no member named 'brightness_ctrl'
355 | if (led->brightness_ctrl&LM3692X_MAP_MODE_EXP) {
| ^~
That's a result of a patch from the mid of the series not being applied. 'leds: lm3692x: Allow to configure brigthness mode' introduces that struct member.
Quoted 4 lines
drivers/leds/leds-lm3692x.c: In function 'lm3692x_probe_dt':drivers/leds/leds-lm3692x.c:437:61: error: 'max_cur' undeclared (first use in this function)
437 | ret =fwnode_property_read_u32(child, "led-max-microamp", &max_cur);
| ^~~~~~~
That somehow got lost during merge of this commit:
https://lore.kernel.org/linux-leds/5826b77d42521595e93d01d53475a8881cad1875.1578134779.git.agx@sigxcpu.org/T/#u
Pavel, shall i send a patch to fix that up or should we rather try to get the rest of the series in in the right order? Resetting linux-next back to cffd61a5c7755546154539dcd7f36590e91e002f for the moment?
Cheers,
-- Guido
Quoted 11 lines
Caused by commit
ef791c4d0ce8("leds: lm3692x: Make sure we don't exceed the maximum LED current")I have used the leds tree from next-20191220 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi!
Quoted 17 lines
Quoted 7 lines
After merging the leds tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/leds/leds-lm3692x.c: In function 'lm3692x_max_brightness':drivers/leds/leds-lm3692x.c:355:9: error: 'structlm3692x_led' has no member named 'brightness_ctrl'
355 | if (led->brightness_ctrl&LM3692X_MAP_MODE_EXP) {
| ^~That's a result of a patch from the mid of the series not being applied. 'leds: lm3692x: Allow to configure brigthness mode' introduces that struct member.
Quoted 4 lines
drivers/leds/leds-lm3692x.c: In function 'lm3692x_probe_dt':drivers/leds/leds-lm3692x.c:437:61: error: 'max_cur' undeclared (first use in this function)
437 | ret =fwnode_property_read_u32(child, "led-max-microamp", &max_cur);
| ^~~~~~~
Quoted 7 lines
That somehow got lost during merge of this commit:
https://lore.kernel.org/linux-leds/5826b77d42521595e93d01d53475a8881cad1875.1578134779.git.agx@sigxcpu.org/T/#uPavel, shall i send a patch to fix that up or should we rather try to get the rest of the series in in the right order? Resetting linux-next back to
cffd61a5c7755546154539dcd7f36590e91e002ffor the moment?
I kept just three patches from the series, and pushed the result.
Could I get the rest of the series, minus the "exponential" stuff, on top of that?
Sorry for the confusion,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi,
Quoted 27 lines · Pavel Machek
Hi!
Quoted 17 lines
Quoted 7 lines
After merging the leds tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/leds/leds-lm3692x.c: In function 'lm3692x_max_brightness':drivers/leds/leds-lm3692x.c:355:9: error: 'structlm3692x_led' has no member named 'brightness_ctrl'
355 | if (led->brightness_ctrl&LM3692X_MAP_MODE_EXP) {
| ^~That's a result of a patch from the mid of the series not being applied. 'leds: lm3692x: Allow to configure brigthness mode' introduces that struct member.
Quoted 4 lines
drivers/leds/leds-lm3692x.c: In function 'lm3692x_probe_dt':drivers/leds/leds-lm3692x.c:437:61: error: 'max_cur' undeclared (first use in this function)
437 | ret =fwnode_property_read_u32(child, "led-max-microamp", &max_cur);
| ^~~~~~~Quoted 7 lines
That somehow got lost during merge of this commit:
https://lore.kernel.org/linux-leds/5826b77d42521595e93d01d53475a8881cad1875.1578134779.git.agx@sigxcpu.org/T/#uPavel, shall i send a patch to fix that up or should we rather try to get the rest of the series in in the right order? Resetting linux-next back to
cffd61a5c7755546154539dcd7f36590e91e002ffor the moment?
Quoted 6 lines
I kept just three patches from the series, and pushed the result.
Could I get the rest of the series, minus the "exponential" stuff, on top of that?
Sorry for the confusion,
No problem, reshuffling stuff turned out to be simpler than expected:
https://lore.kernel.org/linux-leds/[email protected]/T/#mbbbaabea8ebaba1f864d8a4211d9bcac780261aa
If you don't want the exponential mode setting just omit 5/6 and 6/6.
Cheers,
-- Guido
Quoted 5 lines
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html