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-12-21 06:01:05 -06:00
2014-12-14 16:10:09 -08:00
2014-12-30 16:03:53 +01:00
2014-12-02 22:55:51 +08:00
2015-01-13 15:23:30 +02:00
2015-01-04 11:39:59 -08:00
2014-12-18 16:05:28 -08:00
2014-11-27 16:00:25 +00:00
2014-11-28 15:06:38 +01:00
2014-12-09 14:18:35 -08:00
2014-12-10 08:38:57 -08:00
2014-11-18 20:27:53 +01:00
2014-10-08 17:13:04 -04:00
2014-09-25 23:35:01 +02:00
2014-12-18 20:28:33 -08:00
2014-11-10 15:15:34 +01:00
2014-11-28 12:34:08 +01:00
2014-12-18 20:28:33 -08:00
2014-10-02 13:55:02 +02:00
2014-10-08 10:39:33 +05:30
2014-10-02 16:40:10 +02:00
2014-12-14 16:10:09 -08:00
2014-11-13 10:32:05 +01:00
2014-11-23 13:01:45 +01:00
2014-10-02 13:55:02 +02:00
2014-10-02 13:55:02 +02:00
2014-11-10 15:59:20 +01:00
2014-12-13 00:42:49 +01:00
2014-10-02 13:55:02 +02:00
2014-09-10 17:25:14 +02:00
2014-12-09 14:57:37 -08:00
2014-11-18 16:35:01 +01:00
2014-12-20 16:42:36 -08:00
2014-10-20 16:20:03 +02:00
2014-12-04 17:31:32 +01:00
2014-10-31 21:44:32 +01:00
2014-12-13 00:42:49 +01:00
2014-12-20 16:42:36 -08:00
2014-09-13 21:29:21 +00:00
2014-10-20 16:20:05 +02:00
2014-12-14 16:10:09 -08:00
2014-08-21 11:43:34 -05:00
2014-10-22 13:48:20 +02:00
2014-11-05 22:18:40 +01:00
2014-10-02 13:55:02 +02:00
2014-12-14 16:10:09 -08:00
2014-11-12 21:17:27 +01:00
2014-10-14 09:22:26 +02:00
2014-12-14 16:10:09 -08:00
2014-12-15 15:52:01 -08:00
2014-11-20 17:00:32 +01:00
2014-09-05 13:33:41 +02:00
2014-10-31 09:58:58 +01:00
2014-11-16 11:02:33 +01:00
2014-12-10 21:17:00 -08:00
2014-12-14 16:10:09 -08:00
2014-10-28 10:48:52 +01:00
2014-08-08 11:14:29 -07:00
2014-11-28 21:57:07 +01:00
2014-09-26 01:49:03 +02:00
2014-08-08 15:57:28 -07:00
2014-12-01 09:32:22 +01:00
2014-12-16 14:53:01 -08:00
2014-09-23 12:40:22 -04:00
2014-11-21 15:24:54 +00:00
2014-08-05 10:27:25 +01:00
2014-10-02 13:55:02 +02:00
2014-10-14 09:22:26 +02:00
2014-12-10 21:17:00 -08:00
2014-10-20 16:20:07 +02:00
2014-12-14 16:10:09 -08:00
2014-11-28 16:08:16 +01:00
2014-11-21 15:24:50 +00:00
2014-12-04 12:41:54 +00:00
2014-12-13 13:00:36 -08:00
2014-12-14 16:43:47 -08:00
2014-10-21 18:07:00 +02:00