aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre
diff options
context:
space:
mode:
authorZoltán Lajos Kis <zoltan.lajos.kis@gmail.com>2015-08-02 19:22:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-03 17:51:47 -0700
commit5b34cd299319584f9fd342a5c01af83440d512bd (patch)
treeec5dba13e2b93d2d992efe646503924299249f9d /drivers/staging/lustre/lustre
parentstaging: rtl8192u: r819xU_firmware: fix coding style (diff)
downloadlinux-dev-5b34cd299319584f9fd342a5c01af83440d512bd.tar.xz
linux-dev-5b34cd299319584f9fd342a5c01af83440d512bd.zip
staging: lustre: echo_client: fix sparse declaration warnings
Fixes the following sparse warnings: drivers/staging/lustre/lustre/obdecho/echo_client.c:2142:5: warning: symbol 'echo_client_init' was not declared. Should it be static? drivers/staging/lustre/lustre/obdecho/echo_client.c:2157:6: warning: symbol 'echo_client_exit' was not declared. Should it be static? Signed-off-by: Zoltán Lajos Kis <zoltan.lajos.kis@gmail.com>" Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre')
-rw-r--r--drivers/staging/lustre/lustre/obdecho/echo_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/obdecho/echo_client.c b/drivers/staging/lustre/lustre/obdecho/echo_client.c
index de6f795e05d1..27bd170c3a28 100644
--- a/drivers/staging/lustre/lustre/obdecho/echo_client.c
+++ b/drivers/staging/lustre/lustre/obdecho/echo_client.c
@@ -2139,7 +2139,7 @@ static struct obd_ops echo_client_obd_ops = {
.o_disconnect = echo_client_disconnect
};
-int echo_client_init(void)
+static int echo_client_init(void)
{
int rc;
@@ -2154,7 +2154,7 @@ int echo_client_init(void)
return rc;
}
-void echo_client_exit(void)
+static void echo_client_exit(void)
{
class_unregister_type(LUSTRE_ECHO_CLIENT_NAME);
lu_kmem_fini(echo_caches);