diff options
author | Peter Hüwe <PeterHuewe@gmx.de> | 2012-04-14 13:42:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 03:23:31 -0400 |
commit | 8831a3f2c9ee7d952e6d7a018d11c0c9c5b56749 (patch) | |
tree | 8e3f7c54f9fc5aa95be9be0fdd95ade6bff8ca85 /net/ipv4/af_inet.c | |
parent | cf22f9a2b83e72082c43ef5c942d5daf9301da8e (diff) | |
download | op-kernel-dev-8831a3f2c9ee7d952e6d7a018d11c0c9c5b56749.zip op-kernel-dev-8831a3f2c9ee7d952e6d7a018d11c0c9c5b56749.tar.gz |
isdn/hysdn: Convert to kstrtoul_from_user
This patch replaces the code for getting an number 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
0 files changed, 0 insertions, 0 deletions