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


Groups > linux.kernel > #1608147 > unrolled thread

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

Started byPushkar Jambhlekar <pushkar.iit@gmail.com>
First post2017-03-24 07:20 +0100
Last post2017-03-24 07:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromPushkar Jambhlekar <pushkar.iit@gmail.com>
Date2017-03-24 07:20 +0100
Subject[PATCH] mm:include/linux/migrate.h: Fixing checkpatch warning regarding function definition
Message-ID<toqJQ-5M5-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web