From: Doug Maxey <dwm@austin.ibm.com>
To: linuxppc-dev@ozlabs.org
Cc: Jan-Bernd Themann <themann@de.ibm.com>
Subject: [PATCH 2/5] ehea: fix ethtool checkpatch complaints
Date: Tue, 29 Jan 2008 00:50:56 -0600 [thread overview]
Message-ID: <1201589459-30598-3-git-send-email-dwm@austin.ibm.com> (raw)
In-Reply-To: <1201589459-30598-1-git-send-email-dwm@austin.ibm.com>
Cc: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
---
drivers/net/ehea/ehea_ethtool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ehea/ehea_ethtool.c b/drivers/net/ehea/ehea_ethtool.c
index 679f40e..d768852 100644
--- a/drivers/net/ehea/ehea_ethtool.c
+++ b/drivers/net/ehea/ehea_ethtool.c
@@ -40,7 +40,7 @@ static int ehea_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
return ret;
if (netif_carrier_ok(dev)) {
- switch(port->port_speed) {
+ switch (port->port_speed) {
case EHEA_SPEED_10M: cmd->speed = SPEED_10; break;
case EHEA_SPEED_100M: cmd->speed = SPEED_100; break;
case EHEA_SPEED_1G: cmd->speed = SPEED_1000; break;
@@ -78,7 +78,7 @@ static int ehea_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
goto doit;
}
- switch(cmd->speed) {
+ switch (cmd->speed) {
case SPEED_10:
if (cmd->duplex == DUPLEX_FULL)
sp = H_SPEED_10M_F;
--
1.5.3.7
next prev parent reply other threads:[~2008-01-29 7:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 6:50 [PATCH 0/5] ehea: fixups for checkpatch Doug Maxey
2008-01-29 6:50 ` [PATCH 1/5] ehea: fix ehea.h checkpatch complaints Doug Maxey
2008-01-29 6:50 ` Doug Maxey [this message]
2008-01-29 6:50 ` [PATCH 3/5] ehea: fix main " Doug Maxey
2008-01-29 6:50 ` [PATCH 4/5] ehea: fix phyp " Doug Maxey
2008-01-29 6:50 ` [PATCH 5/5] ehea: fix qmr " Doug Maxey
-- strict thread matches above, loose matches on Subject: below --
2008-02-01 2:20 [PATCH 0/5] ehea checkpatch fixups Doug Maxey
2008-02-01 2:20 ` [PATCH 2/5] ehea: fix ethtool checkpatch complaints Doug Maxey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1201589459-30598-3-git-send-email-dwm@austin.ibm.com \
--to=dwm@austin.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=themann@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).