lkml.org 
[lkml]   [2018]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][net-next] net: mvpp2: make function mvpp2_check_hw_buf_num static
From
From: Colin King <colin.king@canonical.com>
Date: Tue, 6 Mar 2018 16:25:17 +0100

> From: Colin Ian King <colin.king@canonical.com>
>
> The function mvpp2_check_hw_buf_num is local to the source and does
> not need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/net/ethernet/marvell/mvpp2.c:4298:5: warning: symbol
> 'mvpp2_check_hw_buf_num' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Someone else submitted this already, but thanks for the submission.

\
 
 \ /
  Last update: 2018-03-07 19:26    [W:0.032 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site