summaryrefslogtreecommitdiffstats
path: root/drivers/edac/thunderx_edac.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-14 22:23:08 +0800
committerBorislav Petkov <bp@suse.de>2020-08-17 10:35:46 +0200
commitbd17e0b7714fb7e13f340965470bf5cada535f76 (patch)
treefac10adbf3305312f1c0f8026d65f4d560e5c4e2 /drivers/edac/thunderx_edac.c
parentdc7a8476cffcb98b008ca44fdadf235a3ad7e7e2 (diff)
downloadlinux-bd17e0b7714fb7e13f340965470bf5cada535f76.tar.gz
linux-bd17e0b7714fb7e13f340965470bf5cada535f76.tar.bz2
linux-bd17e0b7714fb7e13f340965470bf5cada535f76.zip
EDAC/thunderx: Make symbol lmc_dfs_ents static
Symbol 'lmc_dfs_ents' is not used outside of thunderx_edac.c, so make it static: drivers/edac/thunderx_edac.c:457:22: warning: symbol 'lmc_dfs_ents' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Robert Richter <rrichter@marvell.com> Link: https://lkml.kernel.org/r/20200714142308.46612-1-weiyongjun1@huawei.com
Diffstat (limited to 'drivers/edac/thunderx_edac.c')
-rw-r--r--drivers/edac/thunderx_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index 4af9744cc6d0..0eb5eb97fd74 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -454,7 +454,7 @@ DEBUGFS_STRUCT(inject_int, 0200, thunderx_lmc_inject_int_write, NULL);
DEBUGFS_STRUCT(inject_ecc, 0200, thunderx_lmc_inject_ecc_write, NULL);
DEBUGFS_STRUCT(int_w1c, 0400, NULL, thunderx_lmc_int_read);
-struct debugfs_entry *lmc_dfs_ents[] = {
+static struct debugfs_entry *lmc_dfs_ents[] = {
&debugfs_mask0,
&debugfs_mask2,
&debugfs_parity_test,