Files
linux/arch
Michael S. Tsirkin e8b94dea38 arm: fix put_user sparse errors
virtio wants to write bitwise types to userspace using put_user.
At the moment this triggers sparse errors, since the value is passed
through an integer.

For example:

	__le32 __user *p;
	__le32 x;
	put_user(x, p);

is safe, but currently triggers a sparse warning.

Fix that up using __force.

Note: this does not suppress any useful sparse checks since caller
assigns x to typeof(*p), which in turn forces all the necessary type
checks.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-01-13 15:23:30 +02:00
..
2015-01-13 15:23:00 +02:00
2015-01-13 15:23:30 +02:00
2015-01-13 15:23:02 +02:00
2015-01-13 15:23:04 +02:00
2015-01-13 15:23:09 +02:00
2015-01-13 15:23:11 +02:00
2015-01-13 15:23:13 +02:00
2015-01-13 15:23:28 +02:00
2015-01-13 15:23:15 +02:00
2014-12-31 11:04:58 +08:00
2015-01-13 15:23:19 +02:00
2015-01-13 15:23:21 +02:00
2015-01-13 15:23:26 +02:00
2015-01-13 15:22:59 +02:00