]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] sclp_async: Use kstrtoul_from_user
authorPeter Huewe <peterhuewe@gmx.de>
Wed, 3 Aug 2011 14:44:29 +0000 (16:44 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:20 +0000 (16:44 +0200)
commit65762d9c645b6a8c3f12782898f143a57da0b8a1
treed934fccc4fd2748a20610191f5b4c8e1601fc646
parentc87ee053dbc441964f55c9a623f47768017cd085
[S390] sclp_async: Use kstrtoul_from_user

This patch replaces the code for getting an unsigned long from a
userspace buffer by a simple call to kstroul_from_user.
This makes it easier to read and less error prone.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/sclp_async.c