]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd46452de5fb6d2c514106f4fd6abb5b0ddd7248f
treee2bd9ad9c5a0084cc66ac64a12a36a5bb8ecd1d9
parenta00d1665a21d74c1d2452b46465cb275c88c664f
[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