Re: [PATCHv15 06/17] x86/uaccess: Provide untagged_addr() and remove tags before address check

From: Alexander Potapenko
Date: Fri Feb 10 2023 - 10:19:53 EST


> +#define untagged_addr_remote(mm, addr) ({ \
> + u64 __addr = (__force u64)(addr); \
> + mmap_assert_locked(mm); \
> + __addr = __untagged_addr(__addr, (mm)->context.untag_mask); \
> + (__force __typeof__(addr))__addr; \
> +})
> +
> +#else
> +#define untagged_addr(addr) (addr)
Could you please use tabs for indentation here?