From 3a625865a1bba9b1981b040b6251ce839c0886e0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 21 Jun 2016 16:17:46 +0200 Subject: kernel: fix a compiler warning on 64 bit systems Signed-off-by: Felix Fietkau --- target/linux/generic/patches-4.4/642-bridge_port_isolate.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-4.4/642-bridge_port_isolate.patch') 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 451b983613..3ece047317 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; -- cgit v1.2.3