Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337042
b: refs/heads/master
c: 1917e7f
h: refs/heads/master
v: v3
  • Loading branch information
Pranav Ravichandran authored and Greg Kroah-Hartman committed Oct 19, 2012
1 parent a70af04 commit 2610822
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce833d36c63c6aeb0ab9c271c56cb246f0bb82cd
refs/heads/master: 1917e7f916352d82f0a88f769b7c6ac7bc76f5af
5 changes: 3 additions & 2 deletions trunk/drivers/staging/sbe-2t3e3/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static int t3e3_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
return 0;
}

static struct net_device_stats* t3e3_get_stats(struct net_device *dev)
static struct net_device_stats *t3e3_get_stats(struct net_device *dev)
{
struct net_device_stats *nstats = &dev->stats;
struct channel *sc = dev_to_priv(dev);
Expand Down Expand Up @@ -134,7 +134,8 @@ int setup_device(struct net_device *dev, struct channel *sc)
dev->tx_queue_len = 100;
hdlc->xmit = t3e3_if_start_xmit;
hdlc->attach = t3e3_attach;
if ((retval = register_hdlc_device(dev))) {
retval = register_hdlc_device(dev);
if (retval) {
dev_err(&sc->pdev->dev, "error registering HDLC device\n");
return retval;
}
Expand Down

0 comments on commit 2610822

Please sign in to comment.