Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30963a36 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by David Brown
Browse files

arm64/uaccess: fix sparse errors



commit 58fff51784cb5e1bcc06a1417be26eec4288507c upstream.

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>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent d37269b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment