Files
kernel_arpi/arch/arm/include/asm
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
..
2014-04-18 11:40:32 +02:00
2014-06-02 09:20:18 +01:00
2014-12-04 12:41:50 +00:00
2014-11-10 15:59:23 +01:00
2014-02-25 11:33:37 +00:00
2014-06-01 01:17:12 +01:00
2014-11-10 15:59:23 +01:00
2013-07-08 22:08:51 +01:00
2014-10-09 22:26:01 -04:00
2014-05-27 15:58:49 +02:00
2014-06-01 01:17:12 +01:00
2014-02-25 11:33:37 +00:00
2015-01-13 15:23:30 +02:00
2014-08-09 14:07:53 +01:00
2014-03-18 16:39:40 -04:00