mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +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
@ -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 New Issue
Block a user