lkml.org 
[lkml]   [2018]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][devlink-next] devlink: make functions a couple of new functions static
From
From: Colin King <colin.king@canonical.com>
Date: Wed, 17 Jan 2018 11:23:03 +0000

> From: Colin Ian King <colin.king@canonical.com>
>
> The functions devlink_resource_find and devlink_resource_validate_children
> are local to the source and do not need to be in global scope, so make
> them static.
>
> Cleans up sparse warnings:
> symbol 'devlink_resource_find' was not declared. Should it be static?
> warning: symbol 'devlink_resource_validate_children' was not declared.
> Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

\
 
 \ /
  Last update: 2018-01-19 20:38    [W:0.211 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site