mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
19c551482a
commit
0888f388e6
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user