Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 <alexey.zaytsev@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent e3375ac7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))) {
			bad_page(page);
			bad++;
		}