Skip to content

Commit 57427df

Browse files
arndbguoren83
authored andcommitted
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>
1 parent 06c2afb commit 57427df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/csky/kernel/module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static void jsri_2_lrw_jsr(uint32_t *location)
4040
}
4141
}
4242
#else
43-
static void inline jsri_2_lrw_jsr(uint32_t *location)
43+
static inline void jsri_2_lrw_jsr(uint32_t *location)
4444
{
4545
return;
4646
}

0 commit comments

Comments
 (0)