From: Peter Senna Tschudin <peter.senna@gmail.com>
To: Oleg Drokin <oleg.drokin@intel.com>,
Andreas Dilger <andreas.dilger@intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Luca Ceresoli <luca@lucaceresoli.net>,
Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>,
Heena Sirwani <heenasirwani@gmail.com>,
Vitaly Osipov <vitaly.osipov@gmail.com>,
Asaf Vertz <asaf.vertz@tandemg.com>,
Himangi Saraogi <himangi774@gmail.com>,
Greg Donald <gdonald@gmail.com>, Joe Perches <joe@perches.com>,
HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Cc: Peter Senna Tschudin <peter.senna@gmail.com>
Subject: [PATCH] staging/lustre: Make lstcon_console_{init,fini} static
Date: Sat, 7 Mar 2015 12:41:06 +0100 [thread overview]
Message-ID: <1425728466-9629-1-git-send-email-peter.senna@gmail.com> (raw)
sparse was complaining that the symbols 'lstcon_console_init'
and 'lstcon_console_fini' were not declared.
Declaring both as static.
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
---
drivers/staging/lustre/lnet/selftest/console.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/selftest/console.c b/drivers/staging/lustre/lnet/selftest/console.c
index 1e0afc2..6d62c48 100644
--- a/drivers/staging/lustre/lnet/selftest/console.c
+++ b/drivers/staging/lustre/lnet/selftest/console.c
@@ -1989,8 +1989,7 @@ extern int lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data);
static DECLARE_IOCTL_HANDLER(lstcon_ioctl_handler, lstcon_ioctl_entry);
/* initialize console */
-int
-lstcon_console_init(void)
+static int lstcon_console_init(void)
{
int i;
int rc;
@@ -2059,8 +2058,7 @@ out:
return rc;
}
-int
-lstcon_console_fini(void)
+static int lstcon_console_fini(void)
{
int i;
--
2.1.0
next reply other threads:[~2015-03-07 11:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-07 11:41 Peter Senna Tschudin [this message]
2015-03-07 13:13 ` [PATCH] staging/lustre: Make lstcon_console_{init,fini} static Sudip Mukherjee
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=1425728466-9629-1-git-send-email-peter.senna@gmail.com \
--to=peter.senna@gmail.com \
--cc=HPDD-discuss@ml01.01.org \
--cc=andreas.dilger@intel.com \
--cc=asaf.vertz@tandemg.com \
--cc=devel@driverdev.osuosl.org \
--cc=gdonald@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=heenasirwani@gmail.com \
--cc=himangi774@gmail.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--cc=oleg.drokin@intel.com \
--cc=peter.p.waskiewicz.jr@intel.com \
--cc=vitaly.osipov@gmail.com \
/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