[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK8P3a3PhmQ-tSHtMWVvjPzResAf6wyys--P7kcAUFGevfXCgg@mail.gmail.com>
Date: Mon, 6 Jul 2020 17:48:44 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Vladimir Zapolskiy <vz@...ia.com>
Cc: Felipe Balbi <balbi@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
USB list <linux-usb@...r.kernel.org>,
kernel test robot <lkp@...el.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH] udc: lpc32xx: mark local function static
On Tue, Jun 30, 2020 at 8:32 PM Vladimir Zapolskiy <vz@...ia.com> wrote:
>
> Hi Arnd, thank you for the patch.
>
> On 6/30/20 2:58 PM, Arnd Bergmann wrote:
> > The kernel test robot reports two functions that should be marked
> > static:
> >
> >>> drivers/usb/gadget/udc/lpc32xx_udc.c:1928:6: warning: no previous prototype for 'udc_send_in_zlp' [-Wmissing-prototypes]
> > 1928 | void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
> >>> drivers/usb/gadget/udc/lpc32xx_udc.c:1942:6: warning: no previous prototype for 'udc_handle_eps' [-Wmissing-prototypes]
> > 1942 | void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
> >
> > This showed up after my commit 792e559e94bc ("udc: lpc32xx: fix 64-bit
> > compiler warning") made it possible to build the driver on x86-64.
> >
> > Fix the warning as suggested.
> >
> > Reported-by: kernel test robot <lkp@...el.com>
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
>
> Acked-by: Vladimir Zapolskiy <vz@...ia.com>
Applied to arm/soc branch now.
Arnd
Powered by blists - more mailing lists