summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-15 17:12:01 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-15 17:12:01 +0200
commitce21e18d57a75831d094b79c73ca2153e40afb17 (patch)
treeb3b7a9f9cb1cc527ce19f031ae1c33226ffe27b8
parentce009d16a16b04c8d728490a759bb7303cd6d0bd (diff)
downloadmaster-31e0f0ae-ce21e18d57a75831d094b79c73ca2153e40afb17.tar.gz
master-31e0f0ae-ce21e18d57a75831d094b79c73ca2153e40afb17.tar.bz2
master-31e0f0ae-ce21e18d57a75831d094b79c73ca2153e40afb17.zip
kernel: fix a compiler warning on 64 bit systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--target/linux/generic/patches-4.4/642-bridge_port_isolate.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.4/642-bridge_port_isolate.patch b/target/linux/generic/patches-4.4/642-bridge_port_isolate.patch
index 1dc32b6f53..1f1cb1d394 100644
--- a/target/linux/generic/patches-4.4/642-bridge_port_isolate.patch
+++ b/target/linux/generic/patches-4.4/642-bridge_port_isolate.patch
@@ -24,7 +24,7 @@ Isolating individual bridge ports
+ int isolate_mode = (p->flags & BR_ISOLATE_MODE) ? 1 : 0;
+ return sprintf(buf, "%d\n", isolate_mode);
+}
-+static ssize_t store_isolate_mode(struct net_bridge_port *p, unsigned long v)
++static int store_isolate_mode(struct net_bridge_port *p, unsigned long v)
+{
+ if (v)
+ p->flags |= BR_ISOLATE_MODE;