diff options
author | Valdis Kletnieks <valdis.kletnieks@vt.edu> | 2019-03-07 16:29:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-07 18:32:01 -0800 |
commit | 8496ecd0bed4c70b43f39cecf0872b84360f0d14 (patch) | |
tree | 2996f291eb75fe89e3e1a13957529497b2661010 /fs/autofs/autofs_i.h | |
parent | 49ac981965e0032c22e44791a694a83511ebd8fe (diff) |
init/calibrate.c: provide proper prototype
Sparse issues a warning:
CHECK init/calibrate.c
init/calibrate.c:271:28: warning: symbol 'calibration_delay_done' was not declared. Should it be static?
The actual issue is that it's a __weak symbol that archs can override
(in fact, ARM does so), but no prototype is provided. Let's provide one
to prevent surprises.
Link: http://lkml.kernel.org/r/18827.1548750938@turing-police.cc.vt.edu
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs/autofs_i.h')
0 files changed, 0 insertions, 0 deletions