* [PATCH] MIPS: idle: Add prototype for function check_wait
@ 2020-09-22 6:54 Pujin Shi
2020-09-27 9:10 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Pujin Shi @ 2020-09-22 6:54 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux-mips, linux-kernel, shipujin.t, Pujin Shi
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi <shipj@lemote.com>
---
arch/mips/include/asm/idle.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/include/asm/idle.h b/arch/mips/include/asm/idle.h
index 655a6dbc861a..0992cad9c632 100644
--- a/arch/mips/include/asm/idle.h
+++ b/arch/mips/include/asm/idle.h
@@ -15,6 +15,8 @@ static inline int using_rollback_handler(void)
return cpu_wait == r4k_wait;
}
+extern void __init check_wait(void);
+
extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index);
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: idle: Add prototype for function check_wait
2020-09-22 6:54 [PATCH] MIPS: idle: Add prototype for function check_wait Pujin Shi
@ 2020-09-27 9:10 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-27 9:10 UTC (permalink / raw)
To: Pujin Shi; +Cc: linux-mips, linux-kernel, Pujin Shi
On Tue, Sep 22, 2020 at 02:54:39PM +0800, Pujin Shi wrote:
> This commit adds a prototype to fix warning at W=1:
>
> arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait' [-Werror=missing-prototypes]
>
> Signed-off-by: Pujin Shi <shipj@lemote.com>
your mail address and signed-off address don't match. Could you please
resent either with a From: Pujin Shi <shipj@lemote.com> in the mail body
or a Signed-off-by with your gmail address ?
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-27 9:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 6:54 [PATCH] MIPS: idle: Add prototype for function check_wait Pujin Shi
2020-09-27 9:10 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).