Skip to content
Commit 0774bf6a authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Michal Simek
Browse files

microblaze/uaccess: fix sparse errors



virtio wants to read bitwise types from userspace using get_user.  At the
moment this triggers sparse errors, since the value is passed through an
integer.

Fix that up using __force.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 231856ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment