[PATCH 2/2] virtio-pci: Do not break the error message for VIRTIO_F_VERSION_1

From: Manivannan Sadhasivam
Date: Fri Aug 09 2024 - 04:36:45 EST


Breaking the error message will make it harder to grep for it in the
driver. So let's put the error message in a single line.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
---
drivers/virtio/virtio_pci_modern.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c
index e34ed4870af4..1bb55a3167a5 100644
--- a/drivers/virtio/virtio_pci_modern.c
+++ b/drivers/virtio/virtio_pci_modern.c
@@ -274,8 +274,8 @@ static int vp_finalize_features(struct virtio_device *vdev)
vp_transport_features(vdev, features);

if (!__virtio_test_bit(vdev, VIRTIO_F_VERSION_1)) {
- dev_err(&vdev->dev, "device uses modern interface "
- "but does not have VIRTIO_F_VERSION_1\n");
+ dev_err(&vdev->dev,
+ "device uses modern interface but does not have VIRTIO_F_VERSION_1\n");
return -EINVAL;
}

--
2.25.1