From: Darshana Padmadas <darshanapadmadas@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: gong.chen@linux.intel.com, josh@joshtriplett.org,
Darshana Padmadas <darshanapadmadas@gmail.com>
Subject: [PATCH] drivers: ras: Include appropriate header in debugfs.c
Date: Thu, 29 Jan 2015 20:22:12 +0530 [thread overview]
Message-ID: <1422543132-32394-1-git-send-email-darshanapadmadas@gmail.com> (raw)
Includes header file linux/ras.h that has function
prototypes for functions used in debugfs.c
This eliminates the following warnings:
drivers/ras/debugfs.c:7:5: warning: no previous prototype for ‘ras_userspace_consumers’ [-Wmissing-prototypes]
drivers/ras/debugfs.c:37:12: warning: no previous prototype for ‘ras_add_daemon_trace’ [-Wmissing-prototypes]
drivers/ras/debugfs.c:53:13: warning: no previous prototype for ‘ras_debugfs_init’ [-Wmissing-prototypes]
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
---
drivers/ras/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c
index 0322acf..627f6107 100644
--- a/drivers/ras/debugfs.c
+++ b/drivers/ras/debugfs.c
@@ -1,4 +1,5 @@
#include <linux/debugfs.h>
+#include <linux/ras.h>
static struct dentry *ras_debugfs_dir;
--
1.9.1
reply other threads:[~2015-01-29 14:52 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=1422543132-32394-1-git-send-email-darshanapadmadas@gmail.com \
--to=darshanapadmadas@gmail.com \
--cc=gong.chen@linux.intel.com \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®