Skip to contentSkip to conversation

ircomm_flags

PATCH New Jean Tourrilhes 1 participant 1 message Feb 26, 2004 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ircomm_flags

irXXX_ircomm_flags.diff :
~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] volatile not needed, always use set/test_bit

include/net/irda/ircomm_tty.h +1 -1
diff -Nru a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h
@@ -80,7 +80,7 @@
 	LOCAL_FLOW flow;          /* IrTTP flow status */
 
 	int line;
-	volatile unsigned long flags;
+	unsigned long flags;
 
 	__u8 dlsap_sel;
 	__u8 slsap_sel;