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

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>

+1 -1
+1 -1
tools/virtio/linux/compiler.h
··· 31 31 */ 32 32 #define data_race(expr) \ 33 33 ({ \ 34 - __auto_type __v = (expr); \ 34 + auto __v = (expr); \ 35 35 __v; \ 36 36 }) 37 37