From: menglong8.dong@gmail.com
To: oleg@redhat.com
Cc: James.Bottomley@HansenPartnership.com, deller@gmx.de,
linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org,
Zhang Yunkai <zhang.yunkai@zte.com.cn>
Subject: [PATCH] arch/parisc/kernel: remove duplicate include in ptrace
Date: Wed, 3 Mar 2021 18:24:10 -0800 [thread overview]
Message-ID: <20210304022410.186848-1-zhang.yunkai@zte.com.cn> (raw)
From: Zhang Yunkai <zhang.yunkai@zte.com.cn>
'linux/compat.h' included in 'arch/parisc/kernel/ptrace.c' is duplicated.
It is also included in the 24th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
arch/parisc/kernel/ptrace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c
index 2127974982df..918faa95740c 100644
--- a/arch/parisc/kernel/ptrace.c
+++ b/arch/parisc/kernel/ptrace.c
@@ -567,7 +567,6 @@ static const struct user_regset_view user_parisc_native_view = {
};
#ifdef CONFIG_64BIT
-#include <linux/compat.h>
static int gpr32_get(struct task_struct *target,
const struct user_regset *regset,
--
2.25.1
next reply other threads:[~2021-03-04 2:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 2:24 menglong8.dong [this message]
2021-03-06 19:29 ` [PATCH] arch/parisc/kernel: remove duplicate include in ptrace Helge Deller
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=20210304022410.186848-1-zhang.yunkai@zte.com.cn \
--to=menglong8.dong@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=deller@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=zhang.yunkai@zte.com.cn \
/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).