summaryrefslogtreecommitdiff
path: root/et131x.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2013-01-22 21:04:50 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-01-22 21:15:01 +0000
commitfd215651520abd71250c9d29f12f41bcaaed50d1 (patch)
treed097ea1f457cda9b82e21aeb95d6834fc43fad52 /et131x.c
parentff83cec8a193079e8393c8d842d7ac5a396891e4 (diff)
downloadethtool-fd215651520abd71250c9d29f12f41bcaaed50d1.tar.gz
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@gmail.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'et131x.c')
-rw-r--r--et131x.c2
1 files changed, 1 insertions, 1 deletions
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");