Commit 0888f388 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

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: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 19c55148
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment