commit | f1f2eac9124bf0dc82b652871f9a596bce2d3e10 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <lftan@altera.com> | Wed Dec 17 13:53:41 2014 +0800 |
committer | Ley Foon Tan <lftan@altera.com> | Wed Dec 17 13:53:41 2014 +0800 |
tree | 0069531d60de4d0dbfbd4d121f10c998cd4f6023 | |
parent | d1e4ef04244fc67f4f2ee001a84a6562f569f437 [diff] |
nios2/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. Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Ley Foon Tan <lftan@altera.com>