linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: menglong8.dong@gmail.com, oleg@redhat.com
Cc: James.Bottomley@HansenPartnership.com,
	linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Zhang Yunkai <zhang.yunkai@zte.com.cn>
Subject: Re: [PATCH] arch/parisc/kernel: remove duplicate include in ptrace
Date: Sat, 6 Mar 2021 20:29:07 +0100	[thread overview]
Message-ID: <fb46ea24-3c5e-f992-4f33-eb00c06c8369@gmx.de> (raw)
In-Reply-To: <20210304022410.186848-1-zhang.yunkai@zte.com.cn>

On 3/4/21 3:24 AM, menglong8.dong@gmail.com wrote:
> 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>

Thanks,
applied to the parisc-next tree.

Helge

> ---
>   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,
>


      reply	other threads:[~2021-03-06 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04  2:24 [PATCH] arch/parisc/kernel: remove duplicate include in ptrace menglong8.dong
2021-03-06 19:29 ` Helge Deller [this message]

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=fb46ea24-3c5e-f992-4f33-eb00c06c8369@gmx.de \
    --to=deller@gmx.de \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=menglong8.dong@gmail.com \
    --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).