commit | c84f91e2622235bb742f9f20b8675cf095157026 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <[email protected]> | Wed Aug 05 19:55:50 2020 -0400 |
committer | Michael S. Tsirkin <[email protected]> | Wed Aug 05 19:56:03 2020 -0400 |
tree | c24a2b1b9835986c54c81a3334112fa672b68454 | |
parent | 1a86b377aa2147a7c866b03142e848c18e5f3cb8 [diff] |
virtio_config: fix up warnings on parisc Apparently, on parisc le16_to_cpu returns an int. virtio_cread_le is very strict about type sizes so it causes a warning. Fix it up by casting to the correct type. Reported-by: kernel test robot <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Link: https://lore.kernel.org/r/[email protected]