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:Michael S. Tsirkin <mst@redhat.com> Acked-by:
Thomas Gleixner <tglx@linutronix.de> Change-Id: Ife0f1635cea5afb006dc57e99e6dd616b6ae8c34 (cherry picked from commit e182c570e9953859aee5cb016583217d9e68ea18) Signed-off-by:
Sami Tolvanen <samitolvanen@google.com>
Loading
Please register or sign in to comment