summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEric Long <eric.long@linaro.org>2016-02-17 17:51:43 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:30:10 -0600
commitfea6fe15e3ac5fae3f220c17f4f56601bbcf4d02 (patch)
tree8bd8fc2ca667870c6397552638e714aafaee4f52 /tools/perf/scripts/python/netdev-times.py
parent8a403a74c16625044c3bc83ae76791e562952727 (diff)
coresight: "DEVICE_ATTR_RO" should defined as static.
"DEVICE_ATTR_RO(name)" should be defined as static. And there is an unnecessary space at the front of the code. The sparse tool output logs as the following: coresight-etm4x.c:2224:1: warning: symbol 'dev_attr_trcoslsr' was not declared. Should it be static? coresight-etm4x.c:2225:1: warning: symbol 'dev_attr_trcpdcr' was not declared. Should it be static? coresight-etm4x.c:2226:1: warning: symbol 'dev_attr_trcpdsr' was not declared. Should it be static? And the smatch tool output logs as the following: of_coresight.c:89 of_coresight_alloc_memory() warn: inconsistent indenting Signed-off-by: Eric Long <eric.long@linaro.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit bf16e5b8cdeabc1fe6565af0be475bb2084dc388)
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions