kernel: fix compile error with gcc-4.8 and kernel 3.3
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / a02-swconfig-revert-portid-snd_portid-usage.patch
index 5fca538bea89bae7d69410b719243ed30fe8110d..03f4685ce5fa44dbd48dbd28c76111b2ebc0b935 100644 (file)
@@ -1,7 +1,7 @@
 reverted:
 --- a/drivers/net/phy/swconfig.c
 +++ b/drivers/net/phy/swconfig.c
-@@ -377,7 +377,7 @@ swconfig_dump_attr(struct swconfig_callb
+@@ -378,7 +378,7 @@ swconfig_dump_attr(struct swconfig_callb
        int id = cb->args[0];
        void *hdr;
  
@@ -10,7 +10,7 @@ reverted:
                        NLM_F_MULTI, SWITCH_CMD_NEW_ATTR);
        if (IS_ERR(hdr))
                return -1;
-@@ -799,7 +799,7 @@ swconfig_get_attr(struct sk_buff *skb, s
+@@ -801,7 +801,7 @@ swconfig_get_attr(struct sk_buff *skb, s
        if (!msg)
                goto error;
  
@@ -19,7 +19,7 @@ reverted:
                        0, cmd);
        if (IS_ERR(hdr))
                goto nla_put_failure;
-@@ -902,7 +902,7 @@ static int swconfig_dump_switches(struct
+@@ -906,7 +906,7 @@ static int swconfig_dump_switches(struct
        list_for_each_entry(dev, &swdevs, dev_list) {
                if (++idx <= start)
                        continue;