Re: [PATCH][devlink-next] devlink: make functions a couple of new functions static

From: Jiri Pirko
Date: Wed Jan 17 2018 - 10:36:07 EST


Wed, Jan 17, 2018 at 12:23:03PM CET, colin.king@xxxxxxxxxxxxx wrote:
>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>

This is already submitted here:
http://patchwork.ozlabs.org/patch/862020/