Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253883
b: refs/heads/master
c: 3744100
h: refs/heads/master
i:
  253881: 81253a5
  253879: 4d7256d
v: v3
  • Loading branch information
Francois Romieu committed Jun 17, 2011
1 parent f079435 commit 53f1b16
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 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: cefa9993f161c1c2b6b91b7ea2e84a9bfbd43d2e
refs/heads/master: 3744100e05c4e403ed21c99cd389c7e784664e4b
1 change: 0 additions & 1 deletion trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,6 @@ static inline int slave_enable_netpoll(struct slave *slave)
goto out;

np->dev = slave->dev;
strlcpy(np->dev_name, slave->dev->name, IFNAMSIZ);
err = __netpoll_setup(np);
if (err) {
kfree(np);
Expand Down
10 changes: 6 additions & 4 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ static void rtl8169_get_mac_version(struct rtl8169_private *tp,
*
* (RTL_R32(TxConfig) & 0x700000) == 0x200000 ? 8101Eb : 8101Ec
*/
static const struct {
static const struct rtl_mac_info {
u32 mask;
u32 val;
int mac_version;
Expand Down Expand Up @@ -1689,7 +1689,8 @@ static void rtl8169_get_mac_version(struct rtl8169_private *tp,

/* Catch-all */
{ 0x00000000, 0x00000000, RTL_GIGA_MAC_NONE }
}, *p = mac_info;
};
const struct rtl_mac_info *p = mac_info;
u32 reg;

reg = RTL_R32(TxConfig);
Expand Down Expand Up @@ -3681,7 +3682,7 @@ static void rtl_set_rx_max_size(void __iomem *ioaddr, unsigned int rx_buf_sz)

static void rtl8169_set_magic_reg(void __iomem *ioaddr, unsigned mac_version)
{
static const struct {
static const struct rtl_cfg2_info {
u32 mac_version;
u32 clk;
u32 val;
Expand All @@ -3690,7 +3691,8 @@ static void rtl8169_set_magic_reg(void __iomem *ioaddr, unsigned mac_version)
{ RTL_GIGA_MAC_VER_05, PCI_Clock_66MHz, 0x000fffff },
{ RTL_GIGA_MAC_VER_06, PCI_Clock_33MHz, 0x00ffff00 }, // 8110SCe
{ RTL_GIGA_MAC_VER_06, PCI_Clock_66MHz, 0x00ffffff }
}, *p = cfg2_info;
};
const struct rtl_cfg2_info *p = cfg2_info;
unsigned int i;
u32 clk;

Expand Down
1 change: 0 additions & 1 deletion trunk/net/bridge/br_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ int br_netpoll_enable(struct net_bridge_port *p)
goto out;

np->dev = p->dev;
strlcpy(np->dev_name, p->dev->name, IFNAMSIZ);

err = __netpoll_setup(np);
if (err) {
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,9 @@ static int ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr,

hash = rt_hash(daddr, saddr, dev->ifindex, rt_genid(dev_net(dev)));
rth = rt_intern_hash(hash, rth, skb, dev->ifindex);
return IS_ERR(rth) ? PTR_ERR(rth) : 0;
err = 0;
if (IS_ERR(rth))
err = PTR_ERR(rth);

e_nobufs:
return -ENOBUFS;
Expand Down

0 comments on commit 53f1b16

Please sign in to comment.