Explorar o código

drivers/isdn/hardware/eicon/message.c fix 'and' typo in eicons' AddInfo()

'!' has a higher priority than '&'.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Roel Kluin %!s(int64=17) %!d(string=hai) anos
pai
achega
3eb1a6f384
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/isdn/hardware/eicon/message.c

+ 1 - 1
drivers/isdn/hardware/eicon/message.c

@@ -9027,7 +9027,7 @@ static byte AddInfo(byte   **add_i,
    /* facility is a nested structure */
    /* FTY can be more than once      */
 
-  if(esc_chi[0] && !(esc_chi[esc_chi[0]])&0x7f )
+	if (esc_chi[0] && !(esc_chi[esc_chi[0]] & 0x7f))
   {
     add_i[0] = (byte   *)"\x02\x02\x00"; /* use neither b nor d channel */
   }