diff options
| author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-17 20:04:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-17 23:36:52 +0200 |
| commit | 5adb3290ba8738f6f864488fce0ff19f56325eb8 (patch) | |
| tree | 955fe51ad4f321ed15d699e72da8075281041247 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b3f863a6bce01196bf5298f1801a260595de75dd (diff) | |
| download | linux-5adb3290ba8738f6f864488fce0ff19f56325eb8.tar.gz linux-5adb3290ba8738f6f864488fce0ff19f56325eb8.zip | |
staging: lustre: lmv: mark symbols static where possible
We get a few warnings when building kernel with W=1:
drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes]
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2421:5: warning: no previous prototype for 'lmv_read_page' [-Wmissing-prototypes]
....
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
