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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180420094943.25erqjuco7ern2sy@armageddon.cambridge.arm.com>
Date:   Fri, 20 Apr 2018 10:49:44 +0100
From:   Catalin Marinas <catalin.marinas@....com>
To:     Stefan Agner <stefan@...er.ch>
Cc:     akpm@...ux-foundation.org, mhocko@...e.com,
        torvalds@...ux-foundation.org, pasha.tatashin@...cle.com,
        ard.biesheuvel@...aro.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] treewide: use PHYS_ADDR_MAX to avoid type casting
 ULLONG_MAX

On Thu, Apr 19, 2018 at 11:42:04PM +0200, Stefan Agner wrote:
> With PHYS_ADDR_MAX there is now a type safe variant for all
> bits set. Make use of it.
> 
> Patch created using a sematic patch as follows:
> 
> // <smpl>
> @@
> typedef phys_addr_t;
> @@
> -(phys_addr_t)ULLONG_MAX
> +PHYS_ADDR_MAX
> // </smpl>
> 
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
>  arch/arm64/mm/init.c               | 6 +++---

For arm64:

Acked-by: Catalin Marinas <catalin.marinas@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ