]> git.baikalelectronics.ru Git - kernel.git/commit
s390/nmi: remove pointless error strings
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 12 Oct 2015 10:39:09 +0000 (12:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 27 Oct 2015 08:33:54 +0000 (09:33 +0100)
commit48e13a81d5ec0ed1543d062c918230cbf86143ae
tree8c5c4d6e66f61d6db1ea4a3855b5f08e6b59bc5a
parent59ade3d965a689055643c0a80c10beeffbd0ad52
s390/nmi: remove pointless error strings

s390_handle_damage() has character string parameter which was used as
a pointer to verbose error message. The hope was (a lot of years ago)
when analyzing dumps that register R2 would still contain the pointer
and therefore it would be rather easy to tell what went wrong.

However gcc optimizes the strings away since a long time. And even if
it wouldn't it is necessary to have a close look at the machine check
interruption code to tell what's wrong.

So remove the pointless error strings.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/nmi.c