* [pm:bleeding-edge 181/195] kernel/power/snapshot.c:57:3: error: implicit declaration of function 'set_memory_ro'
@ 2016-07-09 4:24 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-07-09 4:24 UTC (permalink / raw)
Cc: kbuild-all, linux-acpi, devel, linux-pm, Rafael J. Wysocki
[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]
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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46354 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-09 4:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-09 4:24 [pm:bleeding-edge 181/195] kernel/power/snapshot.c:57:3: error: implicit declaration of function 'set_memory_ro' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).