| From | Alexander Potapenko <> | Date | Fri, 10 Feb 2023 16:18:56 +0100 | Subject | Re: [PATCHv15 06/17] x86/uaccess: Provide untagged_addr() and remove tags before address check |
| |
> +#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?
|