]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd5f4d113cb9dac182ba44eb605ec4a2f1fdfd3ec
treed934fccc4fd2748a20610191f5b4c8e1601fc646
parentada5ed5484f492e4eb13d788c6c077cf243f53e6
[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