]> asedeno.scripts.mit.edu Git - linux.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)
commit3d68286a4304574c250ca3b0a5429d2901688f16
tree8c5c4d6e66f61d6db1ea4a3855b5f08e6b59bc5a
parentf9e6edfb9cf780edfe0a649a85ed00032e787f69
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