projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661dbf3
)
isdn/hisax: hex vs decimal typo in prfeatureind()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 6 Feb 2014 08:03:08 +0000
(11:03 +0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 7 Feb 2014 05:18:06 +0000
(21:18 -0800)
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 <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/q931.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/hisax/q931.c
b/drivers/isdn/hisax/q931.c
index af1b020a81f1814eb28b8fea83fca30b3b4332fc..b420f8bd862e454df2cc08f4da84b8bc7ef76e57 100644
(file)
--- a/
drivers/isdn/hisax/q931.c
+++ b/
drivers/isdn/hisax/q931.c
@@
-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++ &
0x
80)) {
dp += sprintf(dp, " octet 4 ");
dp += prbits(dp, *p++, 8, 8);
*dp++ = '\n';