kernel: bump 5.4 to 5.4.165
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0252-net-mscc-ocelot-don-t-hardcode-the-number-of-the-CPU.patch
index aec70e6d6fbd0a8bacc7ab1789476748f06282df..7ddc5753f6496408555c87cf31a4bd2ac575c440 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 
 --- a/drivers/net/ethernet/mscc/ocelot.c
 +++ b/drivers/net/ethernet/mscc/ocelot.c
-@@ -1383,7 +1383,7 @@ static void ocelot_bridge_stp_state_set(
+@@ -1380,7 +1380,7 @@ static void ocelot_bridge_stp_state_set(
         * a source for the other ports.
         */
        for (p = 0; p < ocelot->num_phys_ports; p++) {
@@ -39,7 +39,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
                        unsigned long mask = ocelot->bridge_fwd_mask & ~BIT(p);
  
                        for (i = 0; i < ocelot->num_phys_ports; i++) {
-@@ -1398,15 +1398,18 @@ static void ocelot_bridge_stp_state_set(
+@@ -1395,15 +1395,18 @@ static void ocelot_bridge_stp_state_set(
                                }
                        }