Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1183439

[PATCH pm] PM / hibernate: swsusp_page_is_valid() can be static

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [PATCH pm] PM / hibernate: swsusp_page_is_valid() can be static
Date 2015-07-14 10:30 +0200
Message-ID <pM3Lc-8h3-3@gated-at.bofh.it> (permalink)
References <pM3Lc-8h3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 snapshot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index ebbb995..0e4112f4 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -925,7 +925,7 @@ static void swsusp_unset_page_forbidden(struct page *page)
 		memory_bm_clear_bit(forbidden_pages_map, page_to_pfn(page));
 }
 
-int swsusp_page_is_valid(struct page *page)
+static int swsusp_page_is_valid(struct page *page)
 {
 	return valid_pages_map ?
 		memory_bm_test_bit(valid_pages_map, page_to_pfn(page)) : 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH pm] PM / hibernate: swsusp_page_is_valid() can be static kbuild test robot <fengguang.wu@intel.com> - 2015-07-14 10:30 +0200

csiph-web