OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e713a21
)
trivial: Fix dubious bitwise 'or' usage spotted by sparse.
author
Alexey Zaytsev
<alexey.zaytsev@gmail.com>
Fri, 9 Jan 2009 23:48:05 +0000
(
02:48
+0300)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 30 Mar 2009 13:21:57 +0000
(15:21 +0200)
It doesn't change the semantics, but it looks like
the logical 'or' was meant to be used here.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/isdn/mISDN/l1oip_codec.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/mISDN/l1oip_codec.c
b/drivers/isdn/mISDN/l1oip_codec.c
index
2ec4b28
..
e4ecba3
100644
(file)
--- a/
drivers/isdn/mISDN/l1oip_codec.c
+++ b/
drivers/isdn/mISDN/l1oip_codec.c
@@
-331,7
+331,7
@@
l1oip_4bit_alloc(int ulaw)
/* alloc conversion tables */
table_com = vmalloc(65536);
table_dec = vmalloc(512);
- if (!table_com | !table_dec) {
+ if (!table_com |
|
!table_dec) {
l1oip_4bit_free();
return -ENOMEM;
}