[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57E8F173.5040409@linux.intel.com>
Date: Mon, 26 Sep 2016 12:59:15 +0300
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Baoyou Xie <baoyou.xie@...aro.org>, mathias.nyman@...el.com,
gregkh@...uxfoundation.org
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
arnd@...db.de, xie.baoyou@...aro.org, xie.baoyou@....com.cn
Subject: Re: [PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static
On 23.09.2016 16:46, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/usb/host/xhci-ring.c:608:6: warning: no previous prototype for 'xhci_unmap_td_bounce_buffer' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> so this patch marks this function with 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
> ---
> drivers/usb/host/xhci-ring.c | 5 +++--
Hi
There's a similar patch already pending, I'm sending that one
forward after rc1 is out
http://marc.info/?l=linux-usb&m=147170676714500&w=2
-Mathias
Powered by blists - more mailing lists