diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2023-07-26 16:57:36 +0200 |
|---|---|---|
| committer | Guo Ren <guoren@linux.alibaba.com> | 2023-07-29 19:25:46 -0400 |
| commit | 57427df33d5f4281e5b71d4e9afddacdbc622b86 (patch) | |
| tree | 1b46b4d0d3813e08afe68be1a4c92a6fcb1383b7 /arch/csky | |
| parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
| download | linux-57427df33d5f4281e5b71d4e9afddacdbc622b86.tar.gz linux-57427df33d5f4281e5b71d4e9afddacdbc622b86.tar.bz2 linux-57427df33d5f4281e5b71d4e9afddacdbc622b86.zip | |
csky: fix old style declaration in module.c
With W=1, gcc warns about the inline keyword in the wrong place:
arch/csky/kernel/module.c:43:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
Diffstat (limited to 'arch/csky')
| -rw-r--r-- | arch/csky/kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c index f11b3e573344..0b56a8cd12a3 100644 --- a/arch/csky/kernel/module.c +++ b/arch/csky/kernel/module.c @@ -40,7 +40,7 @@ static void jsri_2_lrw_jsr(uint32_t *location) } } #else -static void inline jsri_2_lrw_jsr(uint32_t *location) +static inline void jsri_2_lrw_jsr(uint32_t *location) { return; } |
