<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/virtio/linux/compiler.h, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-01-15T12:42:56Z</updated>
<entry>
<title>tools/virtio: fix READ_ONCE()</title>
<updated>2017-01-15T12:42:56Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2016-11-24T10:25:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08aed6e8883d3be7a8a1578231fc3dcafd2a9df3'/>
<id>urn:sha1:08aed6e8883d3be7a8a1578231fc3dcafd2a9df3</id>
<content type='text'>
commit 5da889c795b1fbefc9d8f058b54717ab8ab17891 upstream.

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: a7c490333df3cff5 ("tools/virtio: use virt_xxx barriers")
Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Jason Wang &lt;jasowang@redhat.com&gt;
Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Cc: linux-kernel@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Reviewed-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>tools/virtio: use virt_xxx barriers</title>
<updated>2016-01-26T08:18:29Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2016-01-20T19:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7c490333df3cff5086ddf19a0837529304fa097'/>
<id>urn:sha1:a7c490333df3cff5086ddf19a0837529304fa097</id>
<content type='text'>
Fix build after API changes.

Reported-by: Kamal Mostafa &lt;kamal@canonical.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
