[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250703065224.1956688-1-harshit.m.mogalapalli@oracle.com>
Date: Wed, 2 Jul 2025 23:52:14 -0700
From: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
To: Dave Penkler <dpenkler@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michael Rubin <matchstick@...erthere.org>,
Arnd Bergmann <arnd@...db.de>,
Nihar Chaithanya <niharchaithanya@...il.com>,
Rodrigo Gobbi <rodrigo.gobbi.7@...il.com>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Cc: dan.carpenter@...aro.org, kernel-janitors@...r.kernel.org,
error27@...il.com, harshit.m.mogalapalli@...cle.com
Subject: [PATCH] staging: gpib: cec: Fix inconsistent indentation in cec_pci_attach()
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@...cle.com>
---
drivers/staging/gpib/cec/cec_gpib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/gpib/cec/cec_gpib.c b/drivers/staging/gpib/cec/cec_gpib.c
index e8736cbf50e3..0c9d10ee7cd2 100644
--- a/drivers/staging/gpib/cec/cec_gpib.c
+++ b/drivers/staging/gpib/cec/cec_gpib.c
@@ -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)) {
--
2.39.3
Powered by blists - more mailing lists