%u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
/me wonders if this issue (found by cppcheck) :
ret = -EINVAL;
if (sscanf(page, "%u", &new_value) != 1)<--- %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
goto out;is already in one's trivial patch queue ?
Signature · 1 line
Toralf
Paul Moore
maintainerQuoted 8 lines · Toralf Förster
/me wonders if this issue (found by cppcheck) :
ret = -EINVAL; if (sscanf(page, "%u", &new_value) != 1)<--- %u in format string(no. 1) requires 'unsigned int *' but the argument type is 'int *'. goto out;
is already in one's trivial patch queue ?
Is this in sel_write_avc_cache_threshold()? If so, no, we don't currently have a patch queued for this, it would be great if you wanted to submit a patch to turn new_value into an unsigned int.
Signature · 2 lines
paul moore www.paul-moore.com