]> asedeno.scripts.mit.edu Git - linux.git/commit
devlink: Make some functions static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 03:27:42 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jan 2018 19:36:29 +0000 (14:36 -0500)
commit43dd7512b51c0f3dd8170916bd3eeb2eba808ed1
tree50a18301203e880870c7d225181031d4af7d4f44
parent8df1d08bf255155f0624b5780905ccc0bb66a740
devlink: Make some functions static

Fixes the following sparse warnings:

net/core/devlink.c:2297:25: warning:
 symbol 'devlink_resource_find' was not declared. Should it be static?
net/core/devlink.c:2322:6: warning:
 symbol 'devlink_resource_validate_children' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c