Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142930
b: refs/heads/master
c: 11ff5f6
h: refs/heads/master
v: v3
  • Loading branch information
Stoyan Gaydarov authored and Linus Torvalds committed Apr 9, 2009
1 parent 5a33797 commit 877a150
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e66dd19092497f566e4dda1664688e28fa667265
refs/heads/master: 11ff5f6affe9b75f115a900a5584db339d46002b
3 changes: 1 addition & 2 deletions trunk/fs/afs/netdevices.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ int afs_get_MAC_address(u8 *mac, size_t maclen)
struct net_device *dev;
int ret = -ENODEV;

if (maclen != ETH_ALEN)
BUG();
BUG_ON(maclen != ETH_ALEN);

rtnl_lock();
dev = __dev_getfirstbyhwtype(&init_net, ARPHRD_ETHER);
Expand Down

0 comments on commit 877a150

Please sign in to comment.