[PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown()

Riyan Dhiman posted 1 patch 1 year, 5 months ago
drivers/pci/controller/vmd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown()
Posted by Riyan Dhiman 1 year, 5 months ago
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
Re: [PATCH] PCI: vmd: Fix indentation issue in vmd_shutdown()
Posted by Krzysztof Wilczyński 1 year, 5 months ago
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