projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3375ac
)
trivial: Fix dubious bitwise 'or' usage spotted by sparse.
author
Alexey Zaytsev
<alexey.zaytsev@gmail.com>
Fri, 9 Jan 2009 23:47:57 +0000
(
02:47
+0300)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 30 Mar 2009 13:21:56 +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>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index
5c44ed4
..
daa36f1
100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-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++;
}