Merge "qca: Modify kstrtoint() function"

This commit is contained in:
Linux Build Service Account 2018-09-03 18:03:06 -07:00 committed by Gerrit - the friendly Code Review server
commit 768bd93bac

View file

@ -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;
}
/**