linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vp_vdpa: Fix inconsistent indenting
@ 2021-05-08 10:45 Jiapeng Chong
  0 siblings, 0 replies; only message in thread
From: Jiapeng Chong @ 2021-05-08 10:45 UTC (permalink / raw)
  To: mst; +Cc: jasowang, irtualization, linux-kernel, Jiapeng Chong

smatch warnings:
drivers/vdpa/virtio_pci/vp_vdpa.c:169 vp_vdpa_request_irq() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/vdpa/virtio_pci/vp_vdpa.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/vdpa/virtio_pci/vp_vdpa.c b/drivers/vdpa/virtio_pci/vp_vdpa.c
index c76ebb5..f567788 100644
--- a/drivers/vdpa/virtio_pci/vp_vdpa.c
+++ b/drivers/vdpa/virtio_pci/vp_vdpa.c
@@ -164,9 +164,8 @@ static int vp_vdpa_request_irq(struct vp_vdpa *vp_vdpa)
 	ret = devm_request_irq(&pdev->dev, irq,	vp_vdpa_config_handler, 0,
 			       vp_vdpa->msix_name, vp_vdpa);
 	if (ret) {
-		dev_err(&pdev->dev,
-			"vp_vdpa: fail to request irq for vq %d\n", i);
-			goto err;
+		dev_err(&pdev->dev, "vp_vdpa: fail to request irq for vq %d\n", i);
+		goto err;
 	}
 	vp_modern_config_vector(mdev, queues);
 	vp_vdpa->config_irq = irq;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-08 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 10:45 [PATCH] vp_vdpa: Fix inconsistent indenting Jiapeng Chong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).