From: Derek Robson <robsonde@gmail.com>
To: konrad.wilk@oracle.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: Derek Robson <robsonde@gmail.com>
Subject: [PATCH] mm: Missing a blank line after declarations
Date: Mon, 27 Apr 2015 19:00:30 +1200 [thread overview]
Message-ID: <1430118030-7023-1-git-send-email-robsonde@gmail.com> (raw)
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>
reply other threads:[~2015-04-27 7:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430118030-7023-1-git-send-email-robsonde@gmail.com \
--to=robsonde@gmail.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).