tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: b2b1e68c40b801c00fa028d7b0b5b542e9740918 commit: 0c96ed43a072c9481f655c3d4fe37f1a90f51c6f [181/195] PM / hibernate: Image data protection during restoration config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 0c96ed43a072c9481f655c3d4fe37f1a90f51c6f # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): kernel/power/snapshot.c: In function 'hibernate_restore_protect_page': >> kernel/power/snapshot.c:57:3: error: implicit declaration of function 'set_memory_ro' [-Werror=implicit-function-declaration] set_memory_ro((unsigned long)page_address, 1); ^ kernel/power/snapshot.c: In function 'hibernate_restore_unprotect_page': >> kernel/power/snapshot.c:63:3: error: implicit declaration of function 'set_memory_rw' [-Werror=implicit-function-declaration] set_memory_rw((unsigned long)page_address, 1); ^ cc1: some warnings being treated as errors vim +/set_memory_ro +57 kernel/power/snapshot.c 51 hibernate_restore_protection_active = false; 52 } 53 54 static inline void hibernate_restore_protect_page(void *page_address) 55 { 56 if (hibernate_restore_protection_active) > 57 set_memory_ro((unsigned long)page_address, 1); 58 } 59 60 static inline void hibernate_restore_unprotect_page(void *page_address) 61 { 62 if (hibernate_restore_protection_active) > 63 set_memory_rw((unsigned long)page_address, 1); 64 } 65 66 static int swsusp_page_is_free(struct page *); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data