mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
staging: lustre: lustre: lov: lov_dev: fix sparse warning of static declaration
This patch adds a static keyword to cl_lov_device_mutex_class variable to suppress the warning of static declaration Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89026cbc79
commit
43a9a85aa1
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ struct kmem_cache *lovsub_req_kmem;
|
|||
struct kmem_cache *lov_lock_link_kmem;
|
||||
|
||||
/** Lock class of lov_device::ld_mutex. */
|
||||
struct lock_class_key cl_lov_device_mutex_class;
|
||||
static struct lock_class_key cl_lov_device_mutex_class;
|
||||
|
||||
struct lu_kmem_descr lov_caches[] = {
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue