mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
c134db89a4
commit
2b27748f4a
1 changed files with 1 additions and 1 deletions
|
@ -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 == ';' ) {
|
||||
|
|
Loading…
Reference in a new issue