]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/obdclass: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 5 Apr 2016 14:45:34 +0000 (20:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 03:55:12 +0000 (20:55 -0700)
commit9214c7881b437f63a52be019241f4177e7341c51
tree184fb0dfbcd192c58767254fd550d60de9a9af8c
parent8c6e7f40281eb7858bea2bfe7d6393ec90cafd1b
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>
drivers/staging/lustre/lustre/obdclass/cl_object.c