Messages in this thread | | | Date | Fri, 20 Apr 2018 10:49:44 +0100 | From | Catalin Marinas <> | 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@agner.ch> > --- > arch/arm64/mm/init.c | 6 +++---
For arm64:
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
| |