Re: [PATCH -next] habanalabs: make some functions static

2020-07-29 Thread Greg Kroah-Hartman
On Wed, Jul 29, 2020 at 11:59:25PM +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: > symbol 'gaudi_ctx_init' was not declared. Should it be static? > drivers/misc/habanalabs/goya/goya.c:5228:5: warning: > symbol 'goya_c

[PATCH -next] habanalabs: make some functions static

2020-07-29 Thread Wei Yongjun
The sparse tool complains as follows: drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: symbol 'gaudi_ctx_init' was not declared. Should it be static? drivers/misc/habanalabs/goya/goya.c:5228:5: warning: symbol 'goya_ctx_init' was not declared. Should it be static? Those functions are not