Skip to content

Commit 419ef34

Browse files
committed
microblaze: Fix sparse warning - unwind.c
Warning log: CHECK arch/microblaze/kernel/unwind.c arch/microblaze/kernel/unwind.c:186:6: warning: symbol 'microblaze_unwind_inner' was not declared. Should it be static? Signed-off-by: Michal Simek <monstr@monstr.eu>
1 parent cd44da1 commit 419ef34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/microblaze/kernel/unwind.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static inline void unwind_trap(struct task_struct *task, unsigned long pc,
183183
* @trace : Where to store stack backtrace (PC values).
184184
* NULL == print backtrace to kernel log
185185
*/
186-
void microblaze_unwind_inner(struct task_struct *task,
186+
static void microblaze_unwind_inner(struct task_struct *task,
187187
unsigned long pc, unsigned long fp,
188188
unsigned long leaf_return,
189189
struct stack_trace *trace)

0 commit comments

Comments
 (0)