s390: fix 'novx' early parameter handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 11 Aug 2017 13:54:16 +0000 (15:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 23 Aug 2017 11:31:47 +0000 (13:31 +0200)
commit673cfddf6e05749c8bdf044140415fcefd5e9546
treed124f239ddc3cb82466fd7453c72a9c1501ab01d
parentd2907225cf9621140664209037bbce5107e02c91
s390: fix 'novx' early parameter handling

Specifying the 'novx' kernel parameter always results in a warning:

Malformed early option 'novx'

The reason for this is that the novx early parameter handling function
always returns a non-zero value which means that an error occurred.
Fix this and return the correct zero value instead.

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