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:
Родитель
ae83d0b416
Коммит
05f099a7d0
|
@ -656,7 +656,7 @@ static struct dma_debug_entry *__dma_entry_alloc(void)
|
|||
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче