Messages in this thread Patch in this message | | | Date | Wed, 3 Jun 2020 15:18:59 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] dma-direct: dma_contiguous_pernuma_area[] can be static |
| |
Signed-off-by: kbuild test robot <lkp@intel.com> --- 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.
| |