[S390] fix broken proc interface for sclp_async
authorHans-Joachim Picht <hans@linux.vnet.ibm.com>
Wed, 24 Mar 2010 10:49:56 +0000 (11:49 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 24 Mar 2010 10:49:53 +0000 (11:49 +0100)
commit7b26d82f5ea7de5667f87bb5ac6570111d7bff9f
treee2bd9ad9c5a0084cc66ac64a12a36a5bb8ecd1d9
parent9c95258c0d5911ae263bf50d854e402ce973ab32
[S390] fix broken proc interface for sclp_async

This patch now allows the use of the proc interface to either activate
or deactivate call home on panic.
e.g.  echo 1 > /proc/sys/kernel/callhome
strict_strtoul() requires _either_'\n\0' _or_ '\0' termination.
This was missing and therefore the interface did not recognise valid input.

Signed-off-by: Hans-Joachim Picht <hans@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_async.c