Re: [PATCH] pinctrl: rza1: fix wrong array assignment of rza1l_swio_entries
From: Geert Uytterhoeven
Date: Fri Apr 17 2020 - 08:38:02 EST
On Fri, Apr 17, 2020 at 12:50 PM Jason Yan <yanaijie@xxxxxxxxxx> wrote:
> The rza1l_swio_entries refered to the wrong array rza1h_swio_pins, which
> was intended to be rza1l_swio_pins. So let's fix it.
>
> This is detected by the following gcc warning:
>
> drivers/pinctrl/pinctrl-rza1.c:401:35: warning: ârza1l_swio_pinsâ
> defined but not used [-Wunused-const-variable=]
> static const struct rza1_swio_pin rza1l_swio_pins[] = {
> ^~~~~~~~~~~~~~~
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Fixes: 039bc58e73b77723 ("pinctrl: rza1: Add support for RZ/A1L")
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in sh-pfc-for-v5.8.
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