drivers: staging: lustre: Fix "'foo* bar' should be 'foo *bar'" errors
authorGreg Donald <gdonald@gmail.com>
Thu, 2 Oct 2014 23:10:23 +0000 (18:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:14 +0000 (10:29 +0800)
Fix checkpatch.pl "'foo* bar' should be 'foo *bar'" errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/dt_object.h
drivers/staging/lustre/lustre/include/lu_object.h
drivers/staging/lustre/lustre/include/lustre_lib.h
drivers/staging/lustre/lustre/include/lustre_net.h
drivers/staging/lustre/lustre/include/obd_class.h
drivers/staging/lustre/lustre/llite/llite_lib.c
drivers/staging/lustre/lustre/llite/statahead.c
drivers/staging/lustre/lustre/obdclass/llog_obd.c
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c
drivers/staging/lustre/lustre/ptlrpc/pinger.c

index 212ebaea8555cdabe47a1c6e4f3292e073a1aeea..c2e7622469caaa66740a01c58807d6ebed2021ac 100644 (file)
@@ -617,7 +617,7 @@ struct dt_index_operations {
                int        (*load)(const struct lu_env *env,
                                      const struct dt_it *di, __u64 hash);
                int     (*key_rec)(const struct lu_env *env,
-                                     const struct dt_it *di, voidkey_rec);
+                                     const struct dt_it *di, void *key_rec);
        } dio_it;
 };
 
index 6015ee5c4b642cc23c205f93c763b4639ed1ccde..2ddb2b054d8d5ac618ebaff9765990f6ed7da36f 100644 (file)
@@ -1120,7 +1120,7 @@ struct lu_context_key {
 };
 
 #define LU_KEY_INIT(mod, type)                             \
-       static voidmod##_key_init(const struct lu_context *ctx, \
+       static void *mod##_key_init(const struct lu_context *ctx, \
                                    struct lu_context_key *key)   \
        {                                                        \
                type *value;                                  \
@@ -1137,7 +1137,7 @@ struct lu_context_key {
 
 #define LU_KEY_FINI(mod, type)                                       \
        static void mod##_key_fini(const struct lu_context *ctx,            \
-                                   struct lu_context_key *key, voiddata) \
+                                   struct lu_context_key *key, void *data) \
        {                                                                  \
                type *info = data;                                        \
                                                                            \
index 12c7590e61faaec934e232da28110e77d38b4f62..bf135630c39a78d3d70b7d1ad14a92eb61d7c11e 100644 (file)
@@ -85,7 +85,7 @@ void target_send_reply(struct ptlrpc_request *req, int rc, int fail_id);
 
 /* client.c */
 
-int client_sanobd_setup(struct obd_device *obddev, struct lustre_cfglcfg);
+int client_sanobd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg);
 struct client_obd *client_conn2cli(struct lustre_handle *conn);
 
 struct md_open_data;
index 0a024d3cfeb7196fe2b6562e8a2149e455104c3e..d4da2431b407a2171b9ac723a0a789e202ea7eb6 100644 (file)
@@ -2951,7 +2951,7 @@ void ptlrpcd_decref(void);
  * procfs output related functions
  * @{
  */
-const charll_opcode2str(__u32 opcode);
+const char *ll_opcode2str(__u32 opcode);
 #if defined (CONFIG_PROC_FS)
 void ptlrpc_lprocfs_register_obd(struct obd_device *obd);
 void ptlrpc_lprocfs_unregister_obd(struct obd_device *obd);
index 882e40bd584cd010a329cdf4260f837916357a09..4a29261c514d9e61210419a7691be1d13d354197 100644 (file)
@@ -414,7 +414,7 @@ do {                                                            \
 #define EXP_MD_COUNTER_INCREMENT(exp, op)
 #endif
 
-static inline int lprocfs_nid_ldlm_stats_init(struct nid_stattmp)
+static inline int lprocfs_nid_ldlm_stats_init(struct nid_stat *tmp)
 {
        /* Always add in ldlm_stats */
        tmp->nid_ldlm_stats = lprocfs_alloc_stats(LDLM_LAST_OPC - LDLM_FIRST_OPC
index 3c086b4d0ea51eaf63b9846dd64966f77773c5cf..e45070d7f219de3312a513ae23a18e0c459ae848 100644 (file)
@@ -2399,7 +2399,7 @@ char *ll_get_fsname(struct super_block *sb, char *buf, int buflen)
        return buf;
 }
 
-static charll_d_path(struct dentry *dentry, char *buf, int bufsize)
+static char *ll_d_path(struct dentry *dentry, char *buf, int bufsize)
 {
        char *path = NULL;
 
index 06b71bcf97a76db74ae96d7ccdd885c90f4e2b01..85d451f17c0277902633bf6dc8a77040c87a35c3 100644 (file)
@@ -915,7 +915,7 @@ static int do_sa_revalidate(struct inode *dir, struct ll_sa_entry *entry,
        return rc;
 }
 
-static void ll_statahead_one(struct dentry *parent, const charentry_name,
+static void ll_statahead_one(struct dentry *parent, const char *entry_name,
                             int entry_name_len)
 {
        struct inode         *dir    = parent->d_inode;
index da769db0af7707d401351d81c140db019467f995..978d886a1103937aa433549e48de1a4e83afdd7b 100644 (file)
@@ -42,7 +42,7 @@
 #include "llog_internal.h"
 
 /* helper functions for calling the llog obd methods */
-static struct llog_ctxtllog_new_ctxt(struct obd_device *obd)
+static struct llog_ctxt *llog_new_ctxt(struct obd_device *obd)
 {
        struct llog_ctxt *ctxt;
 
index 1f4e76896da5998ad90a0e88ed9a513340121142..0c3f667d498fc363c4552ea3b130435eaca5182e 100644 (file)
@@ -175,7 +175,7 @@ const char *ll_opcode2str(__u32 opcode)
        return ll_rpc_opcode_table[offset].opname;
 }
 
-const charll_eopcode2str(__u32 opcode)
+const char *ll_eopcode2str(__u32 opcode)
 {
        LASSERT(ll_eopcode_table[opcode].opcode == opcode);
        return ll_eopcode_table[opcode].opname;
index e8d00408117a5d026e73bd409065bab04ef6b785..b9cbbbd5322ec0d4be0179e0959075f9c465185b 100644 (file)
@@ -428,7 +428,7 @@ EXPORT_SYMBOL(ptlrpc_pinger_del_import);
  * Register a timeout callback to the pinger list, and the callback will
  * be called when timeout happens.
  */
-struct timeout_itemptlrpc_new_timeout(int time, enum timeout_event event,
+struct timeout_item *ptlrpc_new_timeout(int time, enum timeout_event event,
                                        timeout_cb_t cb, void *data)
 {
        struct timeout_item *ti;
This page took 0.030913 seconds and 5 git commands to generate.