diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2011-08-03 16:44:30 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-08-03 16:44:21 +0200 |
commit | af6df871ba87ff93739babb16d26160c37c43183 (patch) | |
tree | bb3e2862fa429e941b249c87813f53020eda1b03 /drivers/md/linear.c | |
parent | d5f4d113cb9dac182ba44eb605ec4a2f1fdfd3ec (diff) |
[S390] qdio: 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>
Acked-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/md/linear.c')
0 files changed, 0 insertions, 0 deletions