projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c278d72
)
tools/virtio: replace "__auto_type" with "auto"
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 20 Jul 2025 06:47:22 +0000
(23:47 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 8 Dec 2025 23:32:15 +0000
(15:32 -0800)
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>
tools/virtio/linux/compiler.h
patch
|
blob
|
history
diff --git
a/tools/virtio/linux/compiler.h
b/tools/virtio/linux/compiler.h
index
204ef0e
..
725b93b
100644
(file)
--- 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; \
})