Skip to content
Commit f1f2eac9 authored by Ley Foon Tan's avatar Ley Foon Tan
Browse files

nios2/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.

Suggested-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
parent d1e4ef04
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