Commit 43a9a85a authored by Mohammad Jamal's avatar Mohammad Jamal Committed by Greg Kroah-Hartman

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: default avatarMohammad Jamal <md.jamalmohiuddin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89026cbc
......@@ -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[] = {
{
......
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