lkml.org 
[lkml]   [2019]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] pata_serverworks: clean up misaligned indentation
Date
From: Colin Ian King <colin.king@canonical.com>

There are several lines that are indented by one space too
many; clean these up. Also re-work comment block to clean
up cppcheck warnings

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/ata/pata_serverworks.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c
index 57de02123c4c..6083c7acfbca 100644
--- a/drivers/ata/pata_serverworks.c
+++ b/drivers/ata/pata_serverworks.c
@@ -432,10 +432,12 @@ static int serverworks_init_one(struct pci_dev *pdev, const struct pci_device_id
(pdev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE) ||
(pdev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2)) {

- /* If the returned btr is the newer revision then
- select the right info block */
- if (rc == 3)
- ppi[0] = &info[3];
+ /*
+ * If the returned btr is the newer revision then
+ * select the right info block
+ */
+ if (rc == 3)
+ ppi[0] = &info[3];

/* Is this the 3rd channel CSB6 IDE ? */
if (pdev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2)
--
2.20.1
\
 
 \ /
  Last update: 2019-03-15 00:15    [W:0.021 / U:4.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site