diff options
author | Mark Einon <mark.einon@gmail.com> | 2013-01-22 21:04:50 +0000 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-01-22 21:15:01 +0000 |
commit | fd215651520abd71250c9d29f12f41bcaaed50d1 (patch) | |
tree | d097ea1f457cda9b82e21aeb95d6834fc43fad52 | |
parent | ff83cec8a193079e8393c8d842d7ac5a396891e4 (diff) | |
download | ethtool-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>
-rw-r--r-- | e100.c | 2 | ||||
-rw-r--r-- | e1000.c | 2 | ||||
-rw-r--r-- | et131x.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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]; @@ -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); @@ -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"); |