Tree/Branch: next-20160524 Git describe: next-20160524 Commit: 66c198deda Add linux-next specific files for 20160524
Build Time: 221 min 17 sec
Passed: 8 / 9 ( 88.89 %) Failed: 1 / 9 ( 11.11 %)
Errors: 12 Warnings: 11 Section Mismatches: 0
Failed defconfigs: arm-allmodconfig
Errors:
arm-allmodconfig ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 8 warnings 0 mismatches : arm64-allmodconfig 24 warnings 0 mismatches : arm-allmodconfig 1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 12 7 ../include/linux/page_idle.h:95:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' 7 ../include/linux/page_idle.h:85:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' 7 ../include/linux/page_idle.h:75:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' 7 ../include/linux/page_idle.h:65:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' 7 ../include/linux/page_idle.h:55:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' 7 ../include/linux/page_idle.h:105:1: error: expected expression before '}' token 7 ../include/linux/page_idle.h:102:3: error: expected ')' before 'return'
Warnings Summary: 11 7 ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] 7 ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] 7 ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] 2 ../mm/page_owner.c:71:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2 ../mm/page_owner.c:212:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2 ../mm/page_owner.c:118:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2 ../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function] 1 ../fs/reiserfs/ibalance.c:1156:2: warning: 'new_insert_key' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allmodconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings: ../mm/page_owner.c:71:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../mm/page_owner.c:118:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../mm/page_owner.c:212:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] ../fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized] ../fs/reiserfs/ibalance.c:1156:2: warning: 'new_insert_key' may be used uninitialized in this function [-Wmaybe-uninitialized] ../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] ../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]
------------------------------------------------------------------------------- arm-allmodconfig : FAIL, 84 errors, 24 warnings, 0 section mismatches
Errors: ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token ../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token
Warnings: ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../mm/page_owner.c:71:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../mm/page_owner.c:118:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../mm/page_owner.c:212:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:55:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:75:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/page_idle.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type]
------------------------------------------------------------------------------- arm64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings: ../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig arm-multi_v5_defconfig arm-multi_v7_defconfig x86_64-defconfig arm-allnoconfig x86_64-allnoconfig close failed in file object destructor: sys.excepthook is missing lost sys.stderr
On Tuesday, May 24, 2016 10:42:59 AM CEST Build bot for Mark Brown wrote:
../include/linux/page_idle.h:52:3: error: expected ')' before 'return' ../include/linux/page_idle.h:55:1: error: expected expression before '}' token ../include/linux/page_idle.h:62:3: error: expected ')' before 'return' ../include/linux/page_idle.h:65:1: error: expected expression before '}' token ../include/linux/page_idle.h:72:3: error: expected ')' before 'return' ../include/linux/page_idle.h:75:1: error: expected expression before '}' token ../include/linux/page_idle.h:82:3: error: expected ')' before 'return' ../include/linux/page_idle.h:85:1: error: expected expression before '}' token ../include/linux/page_idle.h:92:3: error: expected ')' before 'return' ../include/linux/page_idle.h:95:1: error: expected expression before '}' token ../include/linux/page_idle.h:102:3: error: expected ')' before 'return' ../include/linux/page_idle.h:105:1: error: expected expression before '}' token
I sent this patch:
commit 0f8bc0e852f6b73bc7cf4c88f6320d7ee3a8fdd6 Author: Arnd Bergmann arnd@arndb.de Date: Tue May 24 12:02:49 2016 +0200
[SUBMITTED 20160524] mm: fix build problems from lookup_page_ext
A patch for lookup_page_ext introduced several build errors and warnings, e.g.
mm/page_owner.c: In function '__set_page_owner': mm/page_owner.c:71:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] include/linux/page_idle.h: In function 'set_page_young': include/linux/page_idle.h:62:3: error: expected ')' before 'return'
This fixes all of them. Please fold into the original patch.
Signed-off-by: Arnd Bergmann arnd@arndb.de Fixes: 38c4fffbad3c ("mm: check the return value of lookup_page_ext for all call sites")
diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h index 569c3a180625..fec40271339f 100644 --- a/include/linux/page_idle.h +++ b/include/linux/page_idle.h @@ -48,7 +48,7 @@ static inline bool page_is_young(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return false;
return test_bit(PAGE_EXT_YOUNG, &page_ext->flags); @@ -58,7 +58,7 @@ static inline void set_page_young(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return;
set_bit(PAGE_EXT_YOUNG, &page_ext->flags); @@ -68,7 +68,7 @@ static inline bool test_and_clear_page_young(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return false;
return test_and_clear_bit(PAGE_EXT_YOUNG, &page_ext->flags); @@ -78,7 +78,7 @@ static inline bool page_is_idle(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return false;
return test_bit(PAGE_EXT_IDLE, &page_ext->flags); @@ -88,7 +88,7 @@ static inline void set_page_idle(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return;
set_bit(PAGE_EXT_IDLE, &page_ext->flags); @@ -98,7 +98,7 @@ static inline void clear_page_idle(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext) + if (unlikely(!page_ext)) return;
clear_bit(PAGE_EXT_IDLE, &page_ext->flags); diff --git a/mm/page_owner.c b/mm/page_owner.c index 902e39813295..c6cda3e36212 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -65,9 +65,6 @@ void __set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask) { struct page_ext *page_ext = lookup_page_ext(page);
- if (unlikely(!page_ext)) - return; - struct stack_trace trace = { .nr_entries = 0, .max_entries = ARRAY_SIZE(page_ext->trace_entries), @@ -75,6 +72,9 @@ void __set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask) .skip = 3, };
+ if (unlikely(!page_ext)) + return; + save_stack_trace(&trace);
page_ext->order = order; @@ -111,12 +111,11 @@ void __copy_page_owner(struct page *oldpage, struct page *newpage) { struct page_ext *old_ext = lookup_page_ext(oldpage); struct page_ext *new_ext = lookup_page_ext(newpage); + int i;
if (unlikely(!old_ext || !new_ext)) return;
- int i; - new_ext->order = old_ext->order; new_ext->gfp_mask = old_ext->gfp_mask; new_ext->nr_entries = old_ext->nr_entries; @@ -204,11 +203,6 @@ err: void __dump_page_owner(struct page *page) { struct page_ext *page_ext = lookup_page_ext(page); - if (unlikely(!page_ext)) { - pr_alert("There is not page extension available.\n"); - return; - } - struct stack_trace trace = { .nr_entries = page_ext->nr_entries, .entries = &page_ext->trace_entries[0], @@ -216,6 +210,11 @@ void __dump_page_owner(struct page *page) gfp_t gfp_mask = page_ext->gfp_mask; int mt = gfpflags_to_migratetype(gfp_mask);
+ if (unlikely(!page_ext)) { + pr_alert("There is not page extension available.\n"); + return; + } + if (!test_bit(PAGE_EXT_OWNER, &page_ext->flags)) { pr_alert("page_owner info is not active (free page?)\n"); return;
kernel-build-reports@lists.linaro.org