Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122549
b: refs/heads/master
c: 4bcd426
h: refs/heads/master
i:
  122547: f1cb9b3
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Dec 7, 2008
1 parent 018d0c0 commit 67fa5d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 979123d5343b4fdcd4c682745b8a0be9b8fac248
refs/heads/master: 4bcd42679643dd3dfd6aaad9fcbcc74ac5c7e2e9
7 changes: 3 additions & 4 deletions trunk/drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,7 @@ static int slic_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
#ifdef SLIC_USER_REQUEST_DUMP_ENABLED
case SIOCSLICDUMPCARD:
{
struct adapter *adapter = (struct adapter *)
dev->priv;
struct adapter *adapter = netdev_priv(dev);
struct sliccard *card;

ASSERT(adapter);
Expand Down Expand Up @@ -1685,7 +1684,7 @@ static void slic_timer_ping(ulong dev)
struct sliccard *card;

ASSERT(dev);
adapter = (struct adapter *)((struct net_device *) dev)->priv;
adapter = netdev_priv((struct net_device *)dev);
ASSERT(adapter);
card = adapter->card;
ASSERT(card);
Expand Down Expand Up @@ -3136,7 +3135,7 @@ static void slic_timer_get_stats(ulong dev)
struct slic_shmem *pshmem;

ASSERT(dev);
adapter = (struct adapter *)((struct net_device *)dev)->priv;
adapter = netdev_priv((struct net_device *)dev);
ASSERT(adapter);
card = adapter->card;
ASSERT(card);
Expand Down

0 comments on commit 67fa5d3

Please sign in to comment.