dma-debug: make __dma_entry_alloc_check_leak() static
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@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
ae83d0b416
commit
05f099a7d0
|
@ -656,7 +656,7 @@ static struct dma_debug_entry *__dma_entry_alloc(void)
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __dma_entry_alloc_check_leak(void)
|
static void __dma_entry_alloc_check_leak(void)
|
||||||
{
|
{
|
||||||
u32 tmp = nr_total_entries % nr_prealloc_entries;
|
u32 tmp = nr_total_entries % nr_prealloc_entries;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue