Re: [PATCH 1/3] tools/virtio: fix READ_ONCE()

2016-11-24 Thread Jason Wang
On 2016年11月24日 18:25, Mark Rutland wrote: 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

Re: [PATCH 1/3] tools/virtio: fix READ_ONCE()

2016-11-24 Thread Cornelia Huck
On Thu, 24 Nov 2016 10:25:12 + Mark Rutland wrote: > 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

[PATCH 1/3] tools/virtio: fix READ_ONCE()

2016-11-24 Thread Mark Rutland
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