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:	Wed, 29 Oct 2008 08:05:37 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Harvey Harrison <harvey.harrison@...il.com>
Cc:	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: start annotating early ioremap pointers with
	__iomem


* Harvey Harrison <harvey.harrison@...il.com> wrote:

> As with regular ioremap, iounmap etc, annotate with __iomem.
> 
> Fixes the following sparse warnings, will produce some new ones
> elsewhere in arch/x86 that will get worked out over time.
> 
> arch/x86/mm/ioremap.c:402:9: warning: cast removes address space of expression
> arch/x86/mm/ioremap.c:406:10: warning: cast adds address space to expression (<asn:2>)
> arch/x86/mm/ioremap.c:782:19: warning: Using plain integer as NULL pointer
> 
> Impact: some new sparse warnings in e820.c etc, but no functional change.
> 
> Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
> ---
>  arch/x86/include/asm/io.h |    6 +++---
>  arch/x86/mm/ioremap.c     |   22 +++++++++++-----------
>  2 files changed, 14 insertions(+), 14 deletions(-)

applied to tip/x86/urgent, thanks Harvey!

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