Messages in this thread | | | Date | Wed, 29 Jul 2020 18:02:36 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH -next] habanalabs: make some functions static |
| |
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_ctx_init' was not declared. Should it be static? > > Those functions are not used outside of source file, so this > commit marks them static. > > Fixes: a04b7cd97eef ("habanalabs: create internal CB pool") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
0-day already sent this patch in earlier today, sorry.
greg k-h
| |