virtio-pci: fix the confusing error message
author王贇 <yun.wang@linux.alibaba.com>
Thu, 9 Dec 2021 03:29:25 +0000 (11:29 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 14 Jan 2022 23:50:53 +0000 (18:50 -0500)
commit6017599bb25c20b7a68cbb8e7d534bdc1c36b5e4
tree16f36f6a7d42bb1433a087d585d90d59f79ea59f
parent9f8b4ae2ac7dc5ff6e5dfa723c1ef2bad80a8c68
virtio-pci: fix the confusing error message

The error message on the failure of pfn check should tell
virtio-pci rather than virtio-mmio, just fix it.

Signed-off-by: Michael Wang <yun.wang@linux.alibaba.com>
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/ae5e154e-ac59-f0fa-a7c7-091a2201f581@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_legacy.c