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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0802272155190.7583@apollo.tec.linutronix.de>
Date:	Wed, 27 Feb 2008 21:59:26 +0100 (CET)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Ingo Molnar <mingo@...e.hu>
cc:	Roland Dreier <rdreier@...co.com>, linux-kernel@...r.kernel.org,
	Thomas Mingarelli <thomas.mingarelli@...com>
Subject: Re: hpwdt oops in clflush_cache_range

On Wed, 27 Feb 2008, Thomas Gleixner wrote:
> +static inline int phys_addr_valid(unsigned long addr)
> +{
> +	return addr < (1 << boot_cpu_data.x86_phys_bits);

That needs to be:

+     return addr < (1UL << boot_cpu_data.x86_phys_bits);

Where is my brown paperbag ? I know that GCC _is_ stupid, but I never
remember.

      tglx

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