public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown()
@ 2024-09-01  9:26 Riyan Dhiman
  2024-09-01 17:02 ` Krzysztof Wilczyński
  0 siblings, 1 reply; 2+ messages in thread
From: Riyan Dhiman @ 2024-09-01  9:26 UTC (permalink / raw)
  To: nirmal.patel, jonathan.derrick; +Cc: linux-pci, linux-kernel, Riyan Dhiman

The code in vmd_shutdown() had an indentation
issue where spaces were used instead of tabs. This commit
corrects the indentation to use tabs, adhering to the
Linux kernel coding style guidelines.

Issue reported by checkpatch
- ERROR: code indent should use tabs where possible

No functional changes are intended.

Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
---
 drivers/pci/controller/vmd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
index a726de0af011..28ce903b96b6 100644
--- a/drivers/pci/controller/vmd.c
+++ b/drivers/pci/controller/vmd.c
@@ -1053,9 +1053,9 @@ static void vmd_remove(struct pci_dev *dev)
 
 static void vmd_shutdown(struct pci_dev *dev)
 {
-        struct vmd_dev *vmd = pci_get_drvdata(dev);
+	struct vmd_dev *vmd = pci_get_drvdata(dev);
 
-        vmd_remove_irq_domain(vmd);
+	vmd_remove_irq_domain(vmd);
 }
 
 #ifdef CONFIG_PM_SLEEP
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown()
  2024-09-01  9:26 [PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown() Riyan Dhiman
@ 2024-09-01 17:02 ` Krzysztof Wilczyński
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Wilczyński @ 2024-09-01 17:02 UTC (permalink / raw)
  To: Riyan Dhiman; +Cc: nirmal.patel, jonathan.derrick, linux-pci, linux-kernel

Hello,

> The code in vmd_shutdown() had an indentation
> issue where spaces were used instead of tabs. This commit
> corrects the indentation to use tabs, adhering to the
> Linux kernel coding style guidelines.
> 
> Issue reported by checkpatch
> - ERROR: code indent should use tabs where possible
> 
> No functional changes are intended.

Applied to controller/vmd, thank you!

[1/1] PCI: vmd: Fix indentation issue in vmd_shutdown()
      https://git.kernel.org/pci/pci/c/4654cf52cbd0

	Krzysztof

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-01 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01  9:26 [PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown() Riyan Dhiman
2024-09-01 17:02 ` Krzysztof Wilczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox