* [PATCH] mm/swapfile.c: fix a minor coding style issue
@ 2017-05-18 13:04 Harish Jenny K N
0 siblings, 0 replies; only message in thread
From: Harish Jenny K N @ 2017-05-18 13:04 UTC (permalink / raw)
To: linux-mm
This commit fixes a minor coding style issue in swapfile.c
adding an underscore in procswaps_init call.
Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com>
---
mm/swapfile.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/swapfile.c b/mm/swapfile.c
index 4f6cba1..9a6004c 100644
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
@@ -2426,12 +2426,12 @@ static int swaps_open(struct inode *inode, struct file *file)
.poll = swaps_poll,
};
-static int __init procswaps_init(void)
+static int __init proc_swaps_init(void)
{
proc_create("swaps", 0, NULL, &proc_swaps_operations);
return 0;
}
-__initcall(procswaps_init);
+__initcall(proc_swaps_init);
#endif /* CONFIG_PROC_FS */
#ifdef MAX_SWAPFILES_CHECK
--
1.9.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-18 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18 13:04 [PATCH] mm/swapfile.c: fix a minor coding style issue Harish Jenny K N
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox