aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ps3_gelic_net.c
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2011-07-12 06:13:24 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-14 13:12:15 -0400
commite3001c98df51d81a72534837d8069bfb53f3e1ea (patch)
tree97f4c8061f5881ce39b29bea233e6e709876d016 /drivers/net/ps3_gelic_net.c
parent40522998dec20d970fe6f0ea8507004aef18f72d (diff)
ps3_gelic: Fix typos
Signed-off-by: Andre Heider <a.heider@gmail.com> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r--drivers/net/ps3_gelic_net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c
index 35e47c3cab35..9652d10b0159 100644
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -876,7 +876,7 @@ int gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev)
876 result = gelic_descr_prepare_tx(card, descr, skb); 876 result = gelic_descr_prepare_tx(card, descr, skb);
877 if (result) { 877 if (result) {
878 /* 878 /*
879 * DMA map failed. As chanses are that failure 879 * DMA map failed. As chances are that failure
880 * would continue, just release skb and return 880 * would continue, just release skb and return
881 */ 881 */
882 netdev->stats.tx_dropped++; 882 netdev->stats.tx_dropped++;
@@ -1041,7 +1041,7 @@ static int gelic_card_decode_one_descr(struct gelic_card *card)
1041 goto refill; 1041 goto refill;
1042 } 1042 }
1043 /* 1043 /*
1044 * descriptoers any other than FRAME_END here should 1044 * descriptors any other than FRAME_END here should
1045 * be treated as error. 1045 * be treated as error.
1046 */ 1046 */
1047 if (status != GELIC_DESCR_DMA_FRAME_END) { 1047 if (status != GELIC_DESCR_DMA_FRAME_END) {
@@ -1200,7 +1200,7 @@ void gelic_net_poll_controller(struct net_device *netdev)
1200#endif /* CONFIG_NET_POLL_CONTROLLER */ 1200#endif /* CONFIG_NET_POLL_CONTROLLER */
1201 1201
1202/** 1202/**
1203 * gelic_net_open - called upon ifonfig up 1203 * gelic_net_open - called upon ifconfig up
1204 * @netdev: interface device structure 1204 * @netdev: interface device structure
1205 * 1205 *
1206 * returns 0 on success, <0 on failure 1206 * returns 0 on success, <0 on failure