lkml.org 
[lkml]   [2016]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] net: hns: mark symbols static where possible
From
From: Baoyou Xie <baoyou.xie@linaro.org>
Date: Sat, 1 Oct 2016 16:15:26 +0800

> We get a few warnings when building kernel with W=1:
...
> In fact, these functions are only used in the file in which they are
> declared and don't need a declaration, but can be made static.
> So this patch marks these functions with 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>

Still doesn't apply to net-next.

\
 
 \ /
  Last update: 2016-10-04 03:53    [W:0.051 / U:2.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site