[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1358888690-3140-1-git-send-email-mark.einon@gmail.com>
Date: Tue, 22 Jan 2013 21:04:50 +0000
From: Mark Einon <mark.einon@...il.com>
To: bhutchings@...arflare.com
Cc: netdev@...r.kernel.org, Mark Einon <mark.einon@...il.com>
Subject: [PATCH] ethtool: Fix space-after-if checkpatch errors
Some version check statements are lacking a space after the if ()
statement. Add them in.
Signed-off-by: Mark Einon <mark.einon@...il.com>
---
e100.c | 2 +-
e1000.c | 2 +-
et131x.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/e100.c b/e100.c
index 65627ab..b982e79 100644
--- a/e100.c
+++ b/e100.c
@@ -46,7 +46,7 @@ e100_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
u32 reg;
u16 scb_status, scb_cmd;
- if(version != 1)
+ if (version != 1)
return -1;
reg = regs_buff[0];
diff --git a/e1000.c b/e1000.c
index d1d3c73..dd47774 100644
--- a/e1000.c
+++ b/e1000.c
@@ -374,7 +374,7 @@ e1000_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
enum e1000_mac_type mac_type;
u32 reg;
- if(version != 1)
+ if (version != 1)
return -1;
mac_type = e1000_get_mac_type(hw_device_id, hw_revision_id);
diff --git a/et131x.c b/et131x.c
index 8cdbec0..36abaa2 100644
--- a/et131x.c
+++ b/et131x.c
@@ -7,7 +7,7 @@ int et131x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
u8 version = (u8)(regs->version >> 24);
u32 *reg = (u32 *)regs->data;
- if(version != 1)
+ if (version != 1)
return -1;
fprintf(stdout, "PHY Registers\n");
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists