Re: [PATCH] dma-debug: make __dma_entry_alloc_check_leak() static

From: Christoph Hellwig
Date: Fri Apr 17 2020 - 03:13:15 EST


On Fri, Apr 17, 2020 at 03:36:05PM +0800, Jason Yan wrote:
> Fix the following sparse warning:
>
> kernel/dma/debug.c:659:6: warning: symbol '__dma_entry_alloc_check_leak'
> was not declared. Should it be static?
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Looks good, I'll queue this up for 5.8.