Skip to content

Commit bd17e0b

Browse files
Wei Yongjunsuryasaimadhu
authored andcommitted
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
1 parent dc7a847 commit bd17e0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/edac/thunderx_edac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ DEBUGFS_STRUCT(inject_int, 0200, thunderx_lmc_inject_int_write, NULL);
454454
DEBUGFS_STRUCT(inject_ecc, 0200, thunderx_lmc_inject_ecc_write, NULL);
455455
DEBUGFS_STRUCT(int_w1c, 0400, NULL, thunderx_lmc_int_read);
456456

457-
struct debugfs_entry *lmc_dfs_ents[] = {
457+
static struct debugfs_entry *lmc_dfs_ents[] = {
458458
&debugfs_mask0,
459459
&debugfs_mask2,
460460
&debugfs_parity_test,

0 commit comments

Comments
 (0)