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

x86/MCE/AMD: Drop bogus const modifier from AMD's bank4_names()

The compiler validly warns about it being ignored.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/54C21511020000780005890E@mail.emea.novell.com
Signed-off-by: Borislav Petkov <bp@suse.de>

authored by

Jan Beulich and committed by
Borislav Petkov
2cd4c303 ec6f34e5

+1 -1
+1 -1
arch/x86/kernel/cpu/mcheck/mce_amd.c
··· 79 79 return (bank == 4); 80 80 } 81 81 82 - static const char * const bank4_names(struct threshold_block *b) 82 + static const char *bank4_names(const struct threshold_block *b) 83 83 { 84 84 switch (b->address) { 85 85 /* MSR4_MISC0 */