lkml.org 
[lkml]   [2021]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] arch/parisc/kernel: remove duplicate include in ptrace
From
Date
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,
>

\
 
 \ /
  Last update: 2021-03-06 20:31    [W:0.071 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site