diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-07-26 23:57:01 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-07-27 13:22:45 +0200 |
commit | fcd38ed0ff263156c3917c70c2fb0b7e91bfeab1 (patch) | |
tree | a0fef8e6a66ebf755af71069dd776b6a0a7d167b /scripts/selinux/mdp | |
parent | sysfs: disallow world-writable files. (diff) | |
download | linux-fcd38ed0ff263156c3917c70c2fb0b7e91bfeab1.tar.xz linux-fcd38ed0ff263156c3917c70c2fb0b7e91bfeab1.zip |
scripts: modpost: fix compilation warning
The scripts/mod/modpost.c triggers the following warning:
scripts/mod/modpost.c: In function ‘remove_dot’:
scripts/mod/modpost.c:1710:10: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result [-Wunused-result]
The remove_dot function that calls strtoul does not care about the
numeric value of the string that is parsed but only looks for the
end of the numeric sequence. As such, it's equivalent to just skip
over all digits.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/selinux/mdp')
0 files changed, 0 insertions, 0 deletions