Powered by Linux
[PATCH] smatch_allocations: Remove dma_alloc_consistent() from the list — Semantic Matching Tool

[PATCH] smatch_allocations: Remove dma_alloc_consistent() from the list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dma_alloc_consistent() is only defined/used in
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c.

There is no point in listing it in the generic list of memory allocator.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
 smatch_allocations.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/smatch_allocations.c b/smatch_allocations.c
index 111c4e9bd82d..a4b8f419b030 100644
--- a/smatch_allocations.c
+++ b/smatch_allocations.c
@@ -50,7 +50,6 @@ static struct alloc_fn_info kernel_alloc_funcs[] = {
 
 	{"dma_alloc_attrs", "$1", .zeroed=true},
 	{"dma_alloc_coherent", "$1", .zeroed=true},
-	{"dma_alloc_consistent", "$1"},
 	{"dma_alloc_contiguous", "$1"},
 
 	{"krealloc", "$1"},
-- 
2.34.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux