]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: lnet: add static to libcfs_dev declaration
authorJustin Skists <justin.skists@juzza.co.uk>
Thu, 10 May 2018 19:41:29 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 May 2018 09:48:24 +0000 (11:48 +0200)
commit14ad48395994425006a28a3a971876f1d8dbfd5c
tree563efd148254f00db45eba6ce9c861cd9fdf4708
parent023cba396be6b38bfa5273528f4330c10d4afdc0
staging: lustre: lnet: add static to libcfs_dev declaration

Add a static prefix to the declaration for libcfs_dev. This would fix
the following sparse warning:

drivers/staging/lustre/lnet/libcfs/module.c:317:19: warning: symbol
'libcfs_dev' was not declared. Should it be static?

Signed-off-by: Justin Skists <justin.skists@juzza.co.uk>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/module.c