OSDN Git Service

staging: lustre: libcfs: fix sparse warnings about static declaration
authorSerguey Parkhomovsky <sergueyparkhomovsky@gmail.com>
Wed, 31 Dec 2014 18:59:47 +0000 (10:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:55:40 +0000 (15:55 -0800)
commitd372a4cdfaa62943286a0da338c2b18c7d55a1b3
tree48292b4cbf58303b986ca2b71ddadb711d7f6370
parentf96d1d7ee64c833e6bc11dda2a7d1c8d28394560
staging: lustre: libcfs: fix sparse warnings about static declaration

Fixes the following sparse warnings:

drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c:198:1: warning:
 symbol 'libcfs_arch_init' was not declared. Should it be static?
drivers/staging/lustre/lustre/libcfs/linux/linux-prim.c:204:1: warning:
 symbol 'libcfs_arch_cleanup' was not declared. Should it be static?

Signed-off-by: Serguey Parkhomovsky <sergueyparkhomovsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs.h
drivers/staging/lustre/lustre/libcfs/module.c