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

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

UPSTREAM: x86/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 avatarThomas Gleixner <tglx@linutronix.de>

Change-Id: Ife0f1635cea5afb006dc57e99e6dd616b6ae8c34
(cherry picked from commit e182c570e9953859aee5cb016583217d9e68ea18)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 1f6320d0
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