Commit e713a21d authored by Alexey Zaytsev's avatar Alexey Zaytsev Committed by Jiri Kosina
Browse files

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: default avatarAlexey Zaytsev <>
Signed-off-by: default avatarJiri Kosina <>
parent e3375ac7
......@@ -331,7 +331,7 @@ static int destroy_compound_page(struct page *page, unsigned long order)
for (i = 1; i < nr_pages; i++) {
struct page *p = page + i;
if (unlikely(!PageTail(p) | (p->first_page != page))) {
if (unlikely(!PageTail(p) || (p->first_page != page))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment