linux_dsm_epyc7002/arch/arm/include
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
..
asm arm: fix put_user sparse errors 2015-01-13 15:23:30 +02:00
debug ARM: add lolevel debug support for asm9260 2014-11-28 15:08:06 +01:00
uapi/asm ARM: enable bpf syscall 2014-10-29 00:18:20 +00:00