* [PATCH drivers/isdn/hardware/eicon/message.c] fix 'and' typo in eicons' AddInfo()
@ 2007-12-17 16:05 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2007-12-17 16:05 UTC (permalink / raw)
To: mac; +Cc: isdn4linux, lkml
I have previously sent this to isdn4linux@listserv.isdn4linux.de and its
maintainer, but the error is still in linus' tree.
--
'!' has a higher priority than '&', so as was the bit test masks a binary.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/drivers/isdn/hardware/eicon/message.c b/drivers/isdn/hardware/eicon/message.c
index ccd35d0..189b231 100644
--- a/drivers/isdn/hardware/eicon/message.c
+++ b/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 */
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-17 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 16:05 [PATCH drivers/isdn/hardware/eicon/message.c] fix 'and' typo in eicons' AddInfo() Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox