mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
5da889c795
The virtio tools implementation of READ_ONCE() has a single parameter called
'var', but erroneously refers to 'val' for its cast, and thus won't work unless
there's a variable of the correct type that happens to be called 'var'.
Fix this with s/var/val/, making READ_ONCE() work as expected regardless.
Fixes:
|
||
---|---|---|
.. | ||
asm | ||
linux | ||
ringtest | ||
uapi/linux | ||
vhost_test | ||
virtio-trace | ||
.gitignore | ||
Makefile | ||
virtio_test.c | ||
vringh_test.c |