* [PATCH] mm: Missing a blank line after declarations
@ 2015-04-27 7:00 Derek Robson
0 siblings, 0 replies; only message in thread
From: Derek Robson @ 2015-04-27 7:00 UTC (permalink / raw)
To: konrad.wilk, linux-kernel, linux-mm; +Cc: Derek Robson
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
--
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 related [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-27 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 7:00 [PATCH] mm: Missing a blank line after declarations Derek Robson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).