1
0
Fork 0

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>
hifive-unleashed-5.1
Alexey Zaytsev 2009-01-10 02:48:05 +03:00 committed by Jiri Kosina
parent e713a21d82
commit 24ec68fb8f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}