diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2020-09-28 16:09:39 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-10-02 21:18:25 +0200 |
commit | 69e0ad37c9f32d5aa1beb02aab4ec0cd055be013 (patch) | |
tree | b9aff2e803e144f9c8932c0da87b3ef7ed497bbe /tools | |
parent | 547305a64632813286700cb6d768bfe773df7d19 (diff) | |
download | linux-stable-69e0ad37c9f32d5aa1beb02aab4ec0cd055be013.tar.gz linux-stable-69e0ad37c9f32d5aa1beb02aab4ec0cd055be013.tar.bz2 linux-stable-69e0ad37c9f32d5aa1beb02aab4ec0cd055be013.zip |
static_call: Fix return type of static_call_init
Functions that are passed to early_initcall should be of type
initcall_t, which expects a return type of int. This is not currently an
error but a patch in the Clang LTO series could change that in the
future.
Fixes: 9183c3f9ed71 ("static_call: Add inline static call infrastructure")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/lkml/20200903203053.3411268-17-samitolvanen@google.com/
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions