Skip to contentSkip to conversation

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

PATCH Applied Pushkar Jambhlekar 1 participant 1 message Mar 24, 2017 MM migration

lore
Share & tools
lore
#0 lore raw

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

Function definition argument should have identifier name.

---
 include/linux/migrate.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
include/linux/migrate.h +3 -2
index fa76b51..48e2484 100644
@@ -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);
Signature · 1 line
2.7.4