Skip to content

Commit 58d6617

Browse files
SamuelZOUsuryasaimadhu
authored andcommitted
EDAC/thunderx: Make symbols static
Make a couple of symbols static, as reported by sparse. [ bp: Massage. ] Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zou Wei <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent d9976bc commit 58d6617

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/edac/thunderx_edac.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ OCX_DEBUGFS_ATTR(lne23_badcnt, OCX_LNE_BAD_CNT(23));
12781278

12791279
OCX_DEBUGFS_ATTR(com_int, OCX_COM_INT_W1S);
12801280

1281-
struct debugfs_entry *ocx_dfs_ents[] = {
1281+
static struct debugfs_entry *ocx_dfs_ents[] = {
12821282
&debugfs_tlk0_ecc_ctl,
12831283
&debugfs_tlk1_ecc_ctl,
12841284
&debugfs_tlk2_ecc_ctl,
@@ -1919,19 +1919,19 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id)
19191919

19201920
L2C_DEBUGFS_ATTR(tad_int, L2C_TAD_INT_W1S);
19211921

1922-
struct debugfs_entry *l2c_tad_dfs_ents[] = {
1922+
static struct debugfs_entry *l2c_tad_dfs_ents[] = {
19231923
&debugfs_tad_int,
19241924
};
19251925

19261926
L2C_DEBUGFS_ATTR(cbc_int, L2C_CBC_INT_W1S);
19271927

1928-
struct debugfs_entry *l2c_cbc_dfs_ents[] = {
1928+
static struct debugfs_entry *l2c_cbc_dfs_ents[] = {
19291929
&debugfs_cbc_int,
19301930
};
19311931

19321932
L2C_DEBUGFS_ATTR(mci_int, L2C_MCI_INT_W1S);
19331933

1934-
struct debugfs_entry *l2c_mci_dfs_ents[] = {
1934+
static struct debugfs_entry *l2c_mci_dfs_ents[] = {
19351935
&debugfs_mci_int,
19361936
};
19371937

0 commit comments

Comments
 (0)