lkml.org 
[lkml]   [2015]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm: Missing a blank line after declarations
Date
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@gmail.com>
---
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


\
 
 \ /
  Last update: 2015-04-27 09:41    [W:0.034 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site