Re: [PATCH net-next] devlink: Make some functions static

2018-01-19 Thread David Miller
From: Wei Yongjun Date: Wed, 17 Jan 2018 03:27:42 + > 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' wa

Re: [PATCH net-next] devlink: Make some functions static

2018-01-17 Thread Jiri Pirko
Wed, Jan 17, 2018 at 04:27:42AM CET, weiyongj...@huawei.com wrote: >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'

[PATCH net-next] devlink: Make some functions static

2018-01-16 Thread Wei Yongjun
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 ---