projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools string: Use __fallthrough in perf_atoll()
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
util
/
string.c
diff --git
a/tools/perf/util/string.c
b/tools/perf/util/string.c
index fc8781de62dbbed618e1f220225dfaeb195ef7f0..accb7ece1d3cbf1d00b08adc9c6f3dc1b96d7a53 100644
(file)
--- a/
tools/perf/util/string.c
+++ b/
tools/perf/util/string.c
@@
-21,6
+21,8
@@
s64 perf_atoll(const char *str)
case 'b': case 'B':
if (*p)
goto out_err;
+
+ __fallthrough;
case '\0':
return length;
default: