diff options
author | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2009-01-09 18:48:05 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-03-30 09:21:57 -0400 |
commit | 24ec68fb8f0a36a9063f3e72039316e718b628ed (patch) | |
tree | 64cbe85c7a99f6834bdb22e89c83a4684c0b1df0 /drivers/isdn | |
parent | e713a21d8251a4c91772f592af46407dfb0b2e4f (diff) |
trivial: Fix dubious bitwise 'or' usage spotted by sparse.
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/mISDN/l1oip_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/l1oip_codec.c b/drivers/isdn/mISDN/l1oip_codec.c index 2ec4b28d9edc..e4ecba3d48df 100644 --- a/drivers/isdn/mISDN/l1oip_codec.c +++ b/drivers/isdn/mISDN/l1oip_codec.c | |||
@@ -331,7 +331,7 @@ l1oip_4bit_alloc(int ulaw) | |||
331 | /* alloc conversion tables */ | 331 | /* alloc conversion tables */ |
332 | table_com = vmalloc(65536); | 332 | table_com = vmalloc(65536); |
333 | table_dec = vmalloc(512); | 333 | table_dec = vmalloc(512); |
334 | if (!table_com | !table_dec) { | 334 | if (!table_com || !table_dec) { |
335 | l1oip_4bit_free(); | 335 | l1oip_4bit_free(); |
336 | return -ENOMEM; | 336 | return -ENOMEM; |
337 | } | 337 | } |