Re: Build regressions/improvements in v4.0-rc1

From: Geert Uytterhoeven
Date: Mon Feb 23 2015 - 04:15:00 EST


On Mon, Feb 23, 2015 at 10:03 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>> > + /home/kisskb/slave/src/fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: => 266:2
>
> DAX support was merged with 'depends on !(ARM || MIPS || SPARC)', so I don't
> see how this could happen.

sh is not ARM, not MIPS, not SPARC, so...?

>> sh-randconfig

>> > + /home/kisskb/slave/src/sound/soc/codecs/max98357a.c: error: implicit declaration of function 'devm_gpiod_get' [-Werror=implicit-function-declaration]: => 55:2
>> > + /home/kisskb/slave/src/sound/soc/codecs/max98357a.c: error: implicit declaration of function 'gpiod_direction_output' [-Werror=implicit-function-declaration]: => 61:2
>> > + /home/kisskb/slave/src/sound/soc/codecs/max98357a.c: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]: => 30:3
>
> Something wrong in arch/sh/include/asm/gpio.h? the codec is only
> selectable when gpiolib is enabled, but the consumer.h header
> apparently does not get included here.

I think it's an bad select, for which a patch has been available since
about 2 weeks.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/