diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-29 21:48:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-01-05 15:43:41 -0800 |
commit | 2b27748f4a933dc772303dc8ded4e51a8d78b108 (patch) | |
tree | ac3e4a826906b1bf0a0d15d696fa21ca23aa042a | |
parent | c134db89a44bdc86c7b0451095d6ba328a7c1748 (diff) |
net: wan: Replace simple_strtol by simple_strtoul
The simple_strtol() function is deprecated, use simple_strtoul() instead.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wan/sbni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 2fde439543fb..3092a09d3eaa 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c @@ -1535,7 +1535,7 @@ sbni_setup( char *p ) goto bad_param; for( n = 0, parm = 0; *p && n < 8; ) { - (*dest[ parm ])[ n ] = simple_strtol( p, &p, 0 ); + (*dest[ parm ])[ n ] = simple_strtoul( p, &p, 0 ); if( !*p || *p == ')' ) return 1; if( *p == ';' ) { |