x86/MCE/AMD: Drop bogus const modifier from AMD's bank4_names()
authorJan Beulich <JBeulich@suse.com>
Fri, 23 Jan 2015 08:32:01 +0000 (08:32 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 19 Feb 2015 11:30:47 +0000 (12:30 +0100)
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>
arch/x86/kernel/cpu/mcheck/mce_amd.c

index f1c3769bbd6433344968bf5f78ad223170ef6878..39d073c20a5f1b803cab347e86cc9f47c1ae40ad 100644 (file)
@@ -79,7 +79,7 @@ static inline bool is_shared_bank(int bank)
        return (bank == 4);
 }
 
-static const char * const bank4_names(struct threshold_block *b)
+static const char *bank4_names(const struct threshold_block *b)
 {
        switch (b->address) {
        /* MSR4_MISC0 */