s390/cpum_sf: Assign error value to err variable
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 31 Oct 2019 09:38:53 +0000 (10:38 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 12 Nov 2019 10:24:10 +0000 (11:24 +0100)
commit72fbcd057fa1d25da70e33312a0c8401d4295599
treed826803c97995dfa2510c8264ad2a9c689ec9b98
parentc18388340c4165c53f82d30569e8a5fc2f8a850e
s390/cpum_sf: Assign error value to err variable

When starting the CPU Measurement sampling facility using
qsi() function, this function may return an error value.
This error value is referenced in the else part of the
if statement to dump its value in a debug statement.
Right now this value is always zero because it has not been
assigned a value.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c