OSDN Git Service

staging: lustre: lustre: ptlrpc: Placing inline keyword
authorHema Prathaban <hemaklnce@gmail.com>
Tue, 19 Aug 2014 19:26:28 +0000 (00:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 18:56:33 +0000 (11:56 -0700)
This patch fixes the following error using checkpatch.pl
ERROR: inline keyword should sit between storage class and type

Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_config.c

index 01f8b0d..8ef666b 100644 (file)
@@ -815,7 +815,7 @@ void sptlrpc_conf_log_stop(const char *logname)
 }
 EXPORT_SYMBOL(sptlrpc_conf_log_stop);
 
-static void inline flavor_set_flags(struct sptlrpc_flavor *sf,
+static inline void flavor_set_flags(struct sptlrpc_flavor *sf,
                                    enum lustre_sec_part from,
                                    enum lustre_sec_part to,
                                    unsigned int fl_udesc)