diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-05-04 04:12:10 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-05-04 04:19:58 -0400 |
commit | 0f8a0b0b095fd9b301523c0f78686f5ac6fda564 (patch) | |
tree | d9f44fc0f9864e6c42f6005b93bf33abbf964551 /kernel/trace/trace_output.c | |
parent | 5619003173bad626e7d6bd6241c1855b549f9311 (diff) | |
download | linux-0f8a0b0b095fd9b301523c0f78686f5ac6fda564.tar.bz2 |
virtio_pci_modern: __force cast the notify mapping
When switching virtio_pci_modern to use a helper for mappings we lost an
__iomem tag. We should restore it.
However, virtio_pci_modern is playing tricks by hiding an iomem pointer
in a regular vq->priv pointer. Which is okay as long as it's
all contained within a single file, but we need to __force cast
the value otherwise we'll get sparse warnings.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 7dca6c0ea96b ("virtio-pci library: switch to use vp_modern_map_vq_notify()")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions