Commit 2b27748f authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller
Browse files

net: wan: Replace simple_strtol by simple_strtoul



The simple_strtol() function is deprecated, use simple_strtoul() instead.

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c134db89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 == ';' ) {