Re: [PATCH] drivers/fsi: fix fsi_slave_mode prototype

From: Geert Uytterhoeven
Date: Tue Jul 04 2017 - 06:29:48 EST


On Tue, Jun 20, 2017 at 10:43 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> gcc warns about the return type of this function:
>
> drivers/fsi/fsi-core.c:535:8: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
>
> This removes the 'const' attribute, as suggested by the warning.
>
> Fixes: 2b37c3e285f9 ("drivers/fsi: Set slave SMODE to init communication")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

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