Re: [PATCH][devlink-next] devlink: make functions a couple of new functions static
From: David Miller
Date: Fri Jan 19 2018 - 14:37:07 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 17 Jan 2018 11:23:03 +0000
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
Applied.