From: Pujin Shi <shipujin.t@gmail.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Yousong Zhou <yszhou4tech@gmail.com>,
Paul Burton <paulburton@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Vincenzo Frascino <vincenzo.frascino@arm.com>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
Pujin Shi <shipujin.t@gmail.com>
Subject: [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct
Date: Tue, 29 Sep 2020 17:30:46 +0800 [thread overview]
Message-ID: <20200929093047.1425-1-shipujin.t@gmail.com> (raw)
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/process.c:95:5: error: no previous prototype for 'arch_dup_task_struct' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi <shipujin.t@gmail.com>
---
arch/mips/include/asm/processor.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h
index 856e12f6063d..7834e7c0c78a 100644
--- a/arch/mips/include/asm/processor.h
+++ b/arch/mips/include/asm/processor.h
@@ -29,6 +29,7 @@
*/
extern unsigned int vced_count, vcei_count;
+extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
#ifdef CONFIG_32BIT
#ifdef CONFIG_KVM_GUEST
--
2.18.1
next reply other threads:[~2020-09-29 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 9:30 Pujin Shi [this message]
2020-09-29 9:30 ` [PATCH 2/2] MIPS: process: include exec.h header in process.c Pujin Shi
2020-09-30 19:54 ` Thomas Bogendoerfer
2020-09-30 19:54 ` [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct Thomas Bogendoerfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200929093047.1425-1-shipujin.t@gmail.com \
--to=shipujin.t@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=paulburton@kernel.org \
--cc=tglx@linutronix.de \
--cc=tsbogend@alpha.franken.de \
--cc=vincenzo.frascino@arm.com \
--cc=yszhou4tech@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).