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]
Date:	Thu, 21 Aug 2014 08:01:56 -0700
From:	Joe Perches <joe@...ches.com>
To:	Sergey Ryazanov <ryazanov.s.a@...il.com>
Cc:	Andy Whitcroft <apw@...onical.com>, linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] checkpatch: update $allowed_asm_includes macros, add
 reboot.h and time.h

On Thu, 2014-08-21 at 11:43 +0400, Sergey Ryazanov wrote:
> Several architectures (e.g. x86, MIPS, Blackfin) have asm/reboot.h and
> asm/time.h header files, which are not included in linux/reboot.h and
> linux/time.h headers. This lead to generation of false positive errors.

I've no objection.

> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
> ---
>  scripts/checkpatch.pl | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 31a731e..29d6b56 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -425,7 +425,9 @@ foreach my $entry (@mode_permission_funcs) {
>  
>  our $allowed_asm_includes = qr{(?x:
>  	irq|
> -	memory
> +	memory|
> +	time|
> +	reboot
>  )};
>  # memory.h: ARM has a custom one
>  



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ