Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Zheng Yongjun and committed by
David S. Miller
2b27748f c134db89

+1 -1
+1 -1
drivers/net/wan/sbni.c
··· 1535 1535 goto bad_param; 1536 1536 1537 1537 for( n = 0, parm = 0; *p && n < 8; ) { 1538 - (*dest[ parm ])[ n ] = simple_strtol( p, &p, 0 ); 1538 + (*dest[ parm ])[ n ] = simple_strtoul( p, &p, 0 ); 1539 1539 if( !*p || *p == ')' ) 1540 1540 return 1; 1541 1541 if( *p == ';' ) {