mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	kernel: fix a compiler warning on 64 bit systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		
							parent
							
								
									ce009d16a1
								
							
						
					
					
						commit
						ce21e18d57
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user