Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66929
b: refs/heads/master
c: 589c085
h: refs/heads/master
i:
  66927: 58f0d1a
v: v3
  • Loading branch information
Auke Kok authored and David S. Miller committed Oct 10, 2007
1 parent afc51d6 commit 8644555
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 28692ec45e58f40a998beb155fe1c0d3e1167485
refs/heads/master: 589c085f2734537dce4a8b59a1d49006479e33d1
2 changes: 1 addition & 1 deletion trunk/drivers/net/e1000e/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ struct e1000_hw {

#ifdef DEBUG
#define hw_dbg(hw, format, arg...) \
printk(KERN_DEBUG, "%s: " format, e1000_get_hw_dev_name(hw), ##arg);
printk(KERN_DEBUG, "%s: " format, e1000e_get_hw_dev_name(hw), ##arg);
#else
static inline int __attribute__ ((format (printf, 2, 3)))
hw_dbg(struct e1000_hw *hw, const char *format, ...)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ static const struct e1000_info *e1000_info_tbl[] = {
**/
char *e1000e_get_hw_dev_name(struct e1000_hw *hw)
{
struct e1000_adapter *adapter = hw->back;
struct net_device *netdev = adapter->netdev;
return netdev->name;
return hw->adapter->netdev->name;
}
#endif

Expand Down

0 comments on commit 8644555

Please sign in to comment.