
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350) 431fb8c mac80211: add AQL improvements 6bdd4c9 mac80211: add missing backports for building with 4.14 kernels 0106820 mac80211: add missing return code checks in AQL improvements e7f7101 mac80211: rework encapsulation offload support [package] base-files: add function for generating random MAC dnsmasq: abort dhcp_check on interface state boot: sync upstream source code ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD [script] download: add China Mirror Station [target] Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape, mediatek, mvebu, octeon, oxnas, pistachio, uml Sync most of the target patches. Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 4e4637b10374ede3cd33d7e1b389e6cea6343ea3 Mon Sep 17 00:00:00 2001
|
|
From: Colin Ian King <colin.king@canonical.com>
|
|
Date: Tue, 12 Nov 2019 13:05:23 +0000
|
|
Subject: [PATCH] net: dsa: mv88e6xxx: fix broken if statement because of a
|
|
stray semicolon
|
|
|
|
There is a stray semicolon in an if statement that will cause a dev_err
|
|
message to be printed unconditionally. Fix this by removing the stray
|
|
semicolon.
|
|
|
|
Addresses-Coverity: ("Stay semicolon")
|
|
Fixes: f0942e00a1ab ("net: dsa: mv88e6xxx: Add support for port mirroring")
|
|
Signed-off-by: Colin Ian King <colin.king@canonical.com>
|
|
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
---
|
|
drivers/net/dsa/mv88e6xxx/chip.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/dsa/mv88e6xxx/chip.c
|
|
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
|
|
@@ -4987,7 +4987,7 @@ static void mv88e6xxx_port_mirror_del(st
|
|
if (chip->info->ops->set_egress_port(chip,
|
|
direction,
|
|
dsa_upstream_port(ds,
|
|
- port)));
|
|
+ port)))
|
|
dev_err(ds->dev, "failed to set egress port\n");
|
|
}
|
|
|