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:Michael S. Tsirkin <mst@redhat.com> Acked-by:
Will Deacon <will.deacon@arm.com> Bug: 31432001 Change-Id: I1a941e8079cd603456d1ae034a9e708520b26b65 (cherry picked from commit 58fff51784cb5e1bcc06a1417be26eec4288507c) Signed-off-by:
Sami Tolvanen <samitolvanen@google.com>
Loading
Please register or sign in to comment