[lkml]   [2020]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-next: build failure after merge of the leds tree
On Mon, Jan 06, 2020 at 02:21:16PM +1100, Stephen Rothwell wrote:
> 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) {
> | ^~

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.

> 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:

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?

-- Guido

> 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.

> --
> Cheers,
> Stephen Rothwell

 \ /
  Last update: 2020-01-06 10:32    [W:0.133 / U:7.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site