[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdUF-N+TpYHwQTJkOBOoqFVpa_zK2VM-C-qxkvYif-aqrQ@mail.gmail.com>
Date: Fri, 17 Apr 2020 14:37:47 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Jason Yan <yanaijie@...wei.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Nishka Dasgupta <nishkadg.linux@...il.com>,
Linux-Renesas <linux-renesas-soc@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] pinctrl: rza1: fix wrong array assignment of rza1l_swio_entries
On Fri, Apr 17, 2020 at 12:50 PM Jason Yan <yanaijie@...wei.com> 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@...wei.com>
Fixes: 039bc58e73b77723 ("pinctrl: rza1: Add support for RZ/A1L")
> Signed-off-by: Jason Yan <yanaijie@...wei.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
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@...ux-m68k.org
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
Powered by blists - more mailing lists