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

Commit 7c2043e7 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Sami Tolvanen
Browse files

UPSTREAM: arm64/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>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>

Bug: 31432001
Change-Id: I1a941e8079cd603456d1ae034a9e708520b26b65
(cherry picked from commit 58fff51784cb5e1bcc06a1417be26eec4288507c)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 9fb6bfe4
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