]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: gpib: cec: Fix inconsistent indentation in cec_pci_attach()
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Thu, 3 Jul 2025 06:52:14 +0000 (23:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:11:24 +0000 (13:11 +0200)
This is a cleanup which fixes inconsistent indentation. This is found
with smatch.

drivers/staging/gpib/cec/cec_gpib.c:305
cec_pci_attach() warn: inconsistent indenting

Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://lore.kernel.org/r/20250703065224.1956688-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/cec/cec_gpib.c

index e8736cbf50e36401fe61109b8e302b03b566955f..0c9d10ee7cd26e0ab45cea4fc149739faeb39b60 100644 (file)
@@ -302,7 +302,7 @@ static int cec_pci_attach(struct gpib_board *board, const struct gpib_board_conf
                return -EBUSY;
 
        cec_priv->plx_iobase = pci_resource_start(cec_priv->pci_device, 1);
-               nec_priv->iobase = pci_resource_start(cec_priv->pci_device, 3);
+       nec_priv->iobase = pci_resource_start(cec_priv->pci_device, 3);
 
        isr_flags |= IRQF_SHARED;
        if (request_irq(cec_priv->pci_device->irq, cec_interrupt, isr_flags, DRV_NAME, board)) {