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

From: Greg Kroah-Hartman
Date: Wed Jul 29 2020 - 12:02:49 EST


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@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

0-day already sent this patch in earlier today, sorry.

greg k-h