diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-21 16:17:46 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-21 16:17:46 +0200 |
commit | 3a625865a1bba9b1981b040b6251ce839c0886e0 (patch) | |
tree | a6ac17addac25d88c8b8f1ba6496dff00e5b6b7f /target | |
parent | 258941a61edd9f5c09a548416ed0760b749e2b9d (diff) | |
download | master-187ad058-3a625865a1bba9b1981b040b6251ce839c0886e0.tar.gz master-187ad058-3a625865a1bba9b1981b040b6251ce839c0886e0.tar.bz2 master-187ad058-3a625865a1bba9b1981b040b6251ce839c0886e0.zip |
kernel: fix a compiler warning on 64 bit systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/patches-4.4/642-bridge_port_isolate.patch | 2 |
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 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; |