[PATCH] mm: Missing a blank line after declarations

From: Derek Robson
Date: Mon Apr 27 2015 - 03:00:40 EST


This patch fixes warning found with checkpatch.pl error in cleancache.c
WARNING: Missing a blank line after declarations

This patch adds one blank line to meet the preferred style.

Signed-off-by: Derek Robson <robsonde@xxxxxxxxx>
---
mm/cleancache.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/cleancache.c b/mm/cleancache.c
index 8fc5081..3111a52 100644
--- a/mm/cleancache.c
+++ b/mm/cleancache.c
@@ -305,6 +305,7 @@ static int __init init_cleancache(void)
{
#ifdef CONFIG_DEBUG_FS
struct dentry *root = debugfs_create_dir("cleancache", NULL);
+
if (root == NULL)
return -ENXIO;
debugfs_create_u64("succ_gets", S_IRUGO, root, &cleancache_succ_gets);
--
2.3.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/