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


Groups > linux.kernel > #1608147

[PATCH] mm:include/linux/migrate.h: Fixing checkpatch warning regarding function definition

From Pushkar Jambhlekar <pushkar.iit@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] mm:include/linux/migrate.h: Fixing checkpatch warning regarding function definition
Date 2017-03-24 07:20 +0100
Message-ID <toqJQ-5M5-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Function definition argument should have identifier name.

Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com>
---
 include/linux/migrate.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index fa76b51..48e2484 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -33,8 +33,9 @@ extern char *migrate_reason_names[MR_TYPES];
 #ifdef CONFIG_MIGRATION
 
 extern void putback_movable_pages(struct list_head *l);
-extern int migrate_page(struct address_space *,
-			struct page *, struct page *, enum migrate_mode);
+extern int migrate_page(struct address_space *mapping,
+			struct page *newpage, struct page *page,
+			enum migrate_mode mode);
 extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free,
 		unsigned long private, enum migrate_mode mode, int reason);
 extern int isolate_movable_page(struct page *page, isolate_mode_t mode);
-- 
2.7.4

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


Thread

[PATCH] mm:include/linux/migrate.h: Fixing checkpatch warning regarding function definition Pushkar Jambhlekar <pushkar.iit@gmail.com> - 2017-03-24 07:20 +0100

csiph-web