summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2025-07-19 23:47:22 -0700
committerH. Peter Anvin <hpa@zytor.com>2025-12-08 15:32:15 -0800
commit4ecc26fa585216f98d71411ce182f9e823d94c8c (patch)
tree6cb53dd12aae37acb3f274f2449c9abb37dfe243
parentc278d72b99ca92e4227bda70ded38e7e7a3625f8 (diff)
tools/virtio: replace "__auto_type" with "auto"
Replace one instance of "__auto_type" with "auto" in: tools/virtio/linux/compiler.h This file *does* include <linux/compiler_types.h> directly, so there is no need to duplicate the definition. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--tools/virtio/linux/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/linux/compiler.h b/tools/virtio/linux/compiler.h
index 204ef0e9f542..725b93bfeee1 100644
--- a/tools/virtio/linux/compiler.h
+++ b/tools/virtio/linux/compiler.h
@@ -31,7 +31,7 @@
*/
#define data_race(expr) \
({ \
- __auto_type __v = (expr); \
+ auto __v = (expr); \
__v; \
})