Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cd4c303 authored by Jan Beulich's avatar Jan Beulich Committed by Borislav Petkov
Browse files

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



The compiler validly warns about it being ignored.

Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/54C21511020000780005890E@mail.emea.novell.com


Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent ec6f34e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */