mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-06 12:00:48 +01:00
Merge "qca: Modify kstrtoint() function"
This commit is contained in:
commit
768bd93bac
1 changed files with 2 additions and 1 deletions
|
|
@ -1438,7 +1438,8 @@ int kstrtoint(const char *s, unsigned int base, int *res)
|
|||
if (tmp != (unsigned long long)(int)tmp)
|
||||
return -ERANGE;
|
||||
|
||||
return (int)tmp;
|
||||
*res = (int)tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue