diff options
| author | Vincenzo Frascino <vincenzo.frascino@arm.com> | 2019-11-28 14:17:19 +0300 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-10 21:29:01 +0300 | 
| commit | ffd08731b2d632459428612431060cf902324a8d (patch) | |
| tree | dcba0eca80dc01e77be7fc413c2fd116951a9eda /scripts/gdb/vmlinux-gdb.py | |
| parent | f35deaff1b8eadb9897e4fb8b3edc7717f4ec6fa (diff) | |
| download | linux-ffd08731b2d632459428612431060cf902324a8d.tar.xz | |
lib/vdso: Make __cvdso_clock_getres() static
Fix the following sparse warning in the generic vDSO library:
  linux/lib/vdso/gettimeofday.c:224:5: warning: symbol
  '__cvdso_clock_getres' was not declared. Should it be static?
Make it static and also mark it __maybe_unsed.
Fixes: 502a590a170b ("lib/vdso: Move fallback invocation to the callers")
Reported-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191128111719.8282-1-vincenzo.frascino@arm.com
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
