From: Doug Maxey <dwm@austin.ibm.com>
To: Jeff Garzik <jgarzik@garzik.org>
Cc: Linux PowerPC List <linuxppc-dev@ozlabs.org>,
netdev@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
Jan-Bernd Themann <themann@de.ibm.com>
Subject: [PATCH 2/5] ehea: fix ethtool checkpatch complaints
Date: Thu, 31 Jan 2008 20:20:48 -0600 [thread overview]
Message-ID: <1201832451-23634-3-git-send-email-dwm@austin.ibm.com> (raw)
In-Reply-To: <1201832451-23634-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.8
next prev parent reply other threads:[~2008-02-01 2:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 2:20 [PATCH 0/5] ehea checkpatch fixups Doug Maxey
2008-02-01 2:20 ` [PATCH 1/5] ehea: fix ehea.h checkpatch complaints Doug Maxey
2008-02-01 18:40 ` Jeff Garzik
2008-02-01 18:43 ` Jeff Garzik
2008-02-01 2:20 ` Doug Maxey [this message]
2008-02-01 2:20 ` [PATCH 3/5] ehea: fix main " Doug Maxey
2008-02-01 2:20 ` [PATCH 4/5] ehea: fix phyp " Doug Maxey
2008-02-01 19:23 ` Scott Wood
2008-02-02 4:39 ` Doug Maxey
2008-02-04 18:06 ` Scott Wood
2008-02-01 2:20 ` [PATCH 5/5] ehea: fix qmr " Doug Maxey
2008-02-01 3:05 ` [PATCH 0/5] ehea checkpatch fixups Nathan Lynch
2008-02-01 4:35 ` Doug Maxey
-- strict thread matches above, loose matches on Subject: below --
2008-01-29 6:50 [PATCH 0/5] ehea: fixups for checkpatch Doug Maxey
2008-01-29 6:50 ` [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=1201832451-23634-3-git-send-email-dwm@austin.ibm.com \
--to=dwm@austin.ibm.com \
--cc=jgarzik@garzik.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=paulus@samba.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).