lkml.org 
[lkml]   [2016]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] usb: xhci: mark xhci_unmap_td_bounce_buffer() static
From
Date
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@linaro.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

\
 
 \ /
  Last update: 2016-09-26 12:00    [W:1.386 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site