lkml.org 
[lkml]   [2023]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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?

\
 
 \ /
  Last update: 2023-03-27 00:17    [W:0.158 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site