isdn/hisax: hex vs decimal typo in prfeatureind()
Subsystems (3)
PATCH 1/1 isdn/hisax: hex vs decimal typo in prfeatureind()
This is a static checker fix, but judging from the context then I think hexidecimal 0x80 is intended here instead of decimal 80.
Signed-off-by Dan Carpenter <[email protected]>
---
Untested.
drivers/isdn/hisax/q931.c +1 -1
@@ -810,7 +810,7 @@ prfeatureind(char *dest, u_char *p) dp +=sprintf (dp," octet 3 " ); dp +=prbits (dp, *p,8 ,8 ); *dp++ ='\n' ; -if (!(*p++ &80 )) { +if (!(*p++ &0x80 )) { dp +=sprintf (dp," octet 4 " ); dp +=prbits (dp, *p++,8 ,8 ); *dp++ ='\n' ;
From: Dan Carpenter <[email protected]>
Date: Thu, 6 Feb 2014 11:03:08 +0300
Quoted 4 lines
This is a static checker fix, but judging from the context then I think hexidecimal
0x80is intended here instead of decimal 80.Signed-off-by Dan Carpenter <[email protected]>
Applied.