Skip to content

Commit b34348a

Browse files
yghannambp3tk0v
authored andcommitted
EDAC/amd64: Remove module version string
The AMD64 EDAC module version information is not exposed through ABI like MODULE_VERSION(). Instead it is printed during module init. Version numbers can be confusing in cases where module updates are partly backported resulting in a difference between upstream and backported module versions. Remove the AMD64 EDAC module version information to avoid user confusion. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230410190959.3367528-1-yazen.ghannam@amd.com
1 parent ac9a786 commit b34348a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

drivers/edac/amd64_edac.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4074,8 +4074,6 @@ static int __init amd64_edac_init(void)
40744074
amd64_err("%s on 32-bit is unsupported. USE AT YOUR OWN RISK!\n", EDAC_MOD_STR);
40754075
#endif
40764076

4077-
printk(KERN_INFO "AMD64 EDAC driver v%s\n", EDAC_AMD64_VERSION);
4078-
40794077
return 0;
40804078

40814079
err_pci:
@@ -4121,7 +4119,7 @@ module_exit(amd64_edac_exit);
41214119

41224120
MODULE_LICENSE("GPL");
41234121
MODULE_AUTHOR("SoftwareBitMaker: Doug Thompson, Dave Peterson, Thayne Harbaugh; AMD");
4124-
MODULE_DESCRIPTION("MC support for AMD64 memory controllers - " EDAC_AMD64_VERSION);
4122+
MODULE_DESCRIPTION("MC support for AMD64 memory controllers");
41254123

41264124
module_param(edac_op_state, int, 0444);
41274125
MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll,1=NMI");

drivers/edac/amd64_edac.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
* sections 3.5.4 and 3.5.5 for more information.
8686
*/
8787

88-
#define EDAC_AMD64_VERSION "3.5.0"
8988
#define EDAC_MOD_STR "amd64_edac"
9089

9190
/* Extended Model from CPUID, for CPU Revision numbers */

0 commit comments

Comments
 (0)