Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arch/x86: replace "__auto_type" with "auto"

Replace instances of "__auto_type" with "auto" in:

arch/x86/include/asm/bug.h
arch/x86/include/asm/string_64.h
arch/x86/include/asm/uaccess_64.h

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>

+5 -5
+1 -1
arch/x86/include/asm/bug.h
··· 129 129 130 130 #define __WARN_FLAGS(cond_str, flags) \ 131 131 do { \ 132 - __auto_type __flags = BUGFLAG_WARNING|(flags); \ 132 + auto __flags = BUGFLAG_WARNING|(flags); \ 133 133 instrumentation_begin(); \ 134 134 _BUG_FLAGS(cond_str, ASM_UD2, __flags, ARCH_WARN_REACHABLE); \ 135 135 instrumentation_end(); \
+3 -3
arch/x86/include/asm/string_64.h
··· 31 31 #define __HAVE_ARCH_MEMSET16 32 32 static inline void *memset16(uint16_t *s, uint16_t v, size_t n) 33 33 { 34 - const __auto_type s0 = s; 34 + const auto s0 = s; 35 35 asm volatile ( 36 36 "rep stosw" 37 37 : "+D" (s), "+c" (n) ··· 44 44 #define __HAVE_ARCH_MEMSET32 45 45 static inline void *memset32(uint32_t *s, uint32_t v, size_t n) 46 46 { 47 - const __auto_type s0 = s; 47 + const auto s0 = s; 48 48 asm volatile ( 49 49 "rep stosl" 50 50 : "+D" (s), "+c" (n) ··· 57 57 #define __HAVE_ARCH_MEMSET64 58 58 static inline void *memset64(uint64_t *s, uint64_t v, size_t n) 59 59 { 60 - const __auto_type s0 = s; 60 + const auto s0 = s; 61 61 asm volatile ( 62 62 "rep stosq" 63 63 : "+D" (s), "+c" (n)
+1 -1
arch/x86/include/asm/uaccess_64.h
··· 72 72 return ret; 73 73 } 74 74 #define masked_user_access_begin(x) ({ \ 75 - __auto_type __masked_ptr = (x); \ 75 + auto __masked_ptr = (x); \ 76 76 __masked_ptr = mask_user_address(__masked_ptr); \ 77 77 __uaccess_begin(); __masked_ptr; }) 78 78