diff options
| author | Wang Hai <wanghai38@huawei.com> | 2020-09-07 17:06:52 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-09-08 05:11:15 +0300 |
| commit | e75ad2cc41832bae3218e3d6f38b3f03ae0a41df (patch) | |
| tree | ace677fa3519327db2f5f494ee3646f8aaf98cc8 /tools/perf/scripts/python/flamegraph.py | |
| parent | ddfb8b0beda1c371a44897c0359adccf030f7c58 (diff) | |
| download | linux-e75ad2cc41832bae3218e3d6f38b3f03ae0a41df.tar.xz | |
blktrace: make function blk_trace_bio_get_cgid() static
The sparse tool complains as follows:
kernel/trace/blktrace.c:796:5: warning:
symbol 'blk_trace_bio_get_cgid' was not declared. Should it be static?
This function is not used outside of blktrace.c, so this commit
marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
