lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1620470745-35571-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date:   Sat,  8 May 2021 18:45:45 +0800
From:   Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To:     mst@...hat.com
Cc:     jasowang@...hat.com, irtualization@...ts.linux-foundation.org,
        linux-kernel@...r.kernel.org,
        Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] vp_vdpa: Fix inconsistent indenting

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

Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ