lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87lga3fl9g.wl-ysato@users.sourceforge.jp>
Date:   Sun, 22 Jul 2018 22:33:15 +0900
From:   Yoshinori Sato <ysato@...rs.sourceforge.jp>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        uclinux-h8-devel@...ts.sourceforge.jp
Subject: Re: [PATCH] arch/h8300: eliminate ptrace.h warnings

On Fri, 20 Jul 2018 11:34:53 +0900,
Randy Dunlap wrote:
> 
> From: Randy Dunlap <rdunlap@...radead.org>
> 
> Add a "struct task_struct;" stub to arch/h8300's ptrace.h header to
> eliminate gcc warnings (gcc version is 8.1.0).
> 
> ../arch/h8300/include/asm/ptrace.h:32:34: warning: 'struct task_struct' declared inside parameter list will not be visible outside of this definition or declaration
>  extern long h8300_get_reg(struct task_struct *task, int regno);
> ../arch/h8300/include/asm/ptrace.h:33:33: warning: 'struct task_struct' declared inside parameter list will not be visible outside of this definition or declaration
>  extern int h8300_put_reg(struct task_struct *task, int regno,
> 
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>
> Cc: uclinux-h8-devel@...ts.sourceforge.jp
> ---
>  arch/h8300/include/asm/ptrace.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- linux-next-20180717.orig/arch/h8300/include/asm/ptrace.h
> +++ linux-next-20180717/arch/h8300/include/asm/ptrace.h
> @@ -4,6 +4,8 @@
>  
>  #include <uapi/asm/ptrace.h>
>  
> +struct task_struct;
> +
>  #ifndef __ASSEMBLY__
>  #ifndef PS_S
>  #define PS_S  (0x10)
> 
> 

Applied to h8300-next.
Thanks.

-- 
Yosinori Sato

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ