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@xxxxxxxx> > --- > arch/arm64/mm/init.c | 6 +++--- For arm64: Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>