diff options
author | Joe Stringer <joe@ovn.org> | 2017-01-26 22:19:59 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-01-31 20:20:07 +0100 |
commit | 9a9c733d68c5cb89bd5c5ab91b9821e1a5d69272 (patch) | |
tree | fff74da9a57710e3600976dba2144ad963987025 /tools/lib/api/fs | |
parent | tools lib bpf: Add bpf_object__pin() (diff) | |
download | linux-9a9c733d68c5cb89bd5c5ab91b9821e1a5d69272.tar.xz linux-9a9c733d68c5cb89bd5c5ab91b9821e1a5d69272.zip |
tools perf util: Make rm_rf(path) argument const
rm_rf() doesn't modify its path argument, and a future caller will pass
a string constant into it to delete.
Signed-off-by: Joe Stringer <joe@ovn.org>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: netdev@vger.kernel.org
Link: http://lkml.kernel.org/r/20170126212001.14103-5-joe@ovn.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions