[RFC PATCH] dma-direct: dma_contiguous_pernuma_area[] can be static

From: kbuild test robot
Date: Wed Jun 03 2020 - 03:19:30 EST



Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
contiguous.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c
index 4b10d0ca0456d..2094c8e0590ac 100644
--- a/kernel/dma/contiguous.c
+++ b/kernel/dma/contiguous.c
@@ -37,7 +37,7 @@
#endif

struct cma *dma_contiguous_default_area;
-struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES];
+static struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES];

/*
* Default global CMA area size can be defined in kernel's .config.