Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EDAC/mc: Drop duplicated dimm->nr_pages debug printout

The duplicated edac_dbg()-based dimm->nr_pages print was introduced in

6e84d359b2be ("edac_mc: Cleanup per-dimm_info debug messages").

The duplicated line can be found even in the commit message text:

[ 1011.380101] EDAC DEBUG: edac_mc_dump_dimm: dimm->nr_pages = 0x40000
[ 1011.380103] EDAC DEBUG: edac_mc_dump_dimm: dimm->grain = 8
[ 1011.380104] EDAC DEBUG: edac_mc_dump_dimm: dimm->nr_pages = 0x40000

Drop the second edac_dbg() call.

[ bp: Massage commit message. ]

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220822190730.27277-14-Sergey.Semin@baikalelectronics.ru

authored by

Serge Semin and committed by
Borislav Petkov
93df1947 9a1043d4

-1
-1
drivers/edac/edac_mc.c
··· 103 103 edac_dbg(4, " dimm->label = '%s'\n", dimm->label); 104 104 edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages); 105 105 edac_dbg(4, " dimm->grain = %d\n", dimm->grain); 106 - edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages); 107 106 } 108 107 109 108 static void edac_mc_dump_csrow(struct csrow_info *csrow)