summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudip Mukherjee2016-04-05 20:15:34 +0530
committerGreg Kroah-Hartman2016-04-11 20:55:12 -0700
commit0888f388e6ac44530473a5abc59ecb1efbc3fe23 (patch)
tree184fb0dfbcd192c58767254fd550d60de9a9af8c
parent19c551482ad620336afb724bb6cfcf1720fa545c (diff)
staging/lustre/obdclass: fix build warning
While building with W=1 we were getting the warning: drivers/staging/lustre/lustre/obdclass/cl_object.c:1056:16: warning: old-style function definition struct lu_env *cl_env_percpu_get() ^ Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/obdclass/cl_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/cl_object.c b/drivers/staging/lustre/lustre/obdclass/cl_object.c
index a068e08b2031..5940f30318ec 100644
--- a/drivers/staging/lustre/lustre/obdclass/cl_object.c
+++ b/drivers/staging/lustre/lustre/obdclass/cl_object.c
@@ -1055,7 +1055,7 @@ void cl_env_percpu_put(struct lu_env *env)
}
EXPORT_SYMBOL(cl_env_percpu_put);
-struct lu_env *cl_env_percpu_get()
+struct lu_env *cl_env_percpu_get(void)
{
struct cl_env *cle;