drivers: staging: lustre: Fix "'foo* bar' should be 'foo *bar'" errors
PATCH 1/1 drivers: staging: lustre: Fix "'foo* bar' should be 'foo *bar'" errors
Fix checkpatch.pl "'foo* bar' should be 'foo *bar'" errors
Signed-off-by Greg Donald <[email protected]>
--- drivers/staging/lustre/lustre/include/dt_object.h | 2 +- drivers/staging/lustre/lustre/include/lu_object.h | 4 ++-- drivers/staging/lustre/lustre/include/lustre_lib.h | 2 +- drivers/staging/lustre/lustre/include/lustre_net.h | 2 +- drivers/staging/lustre/lustre/include/obd_class.h | 2 +- drivers/staging/lustre/lustre/llite/llite_lib.c | 2 +- drivers/staging/lustre/lustre/llite/statahead.c | 2 +- drivers/staging/lustre/lustre/obdclass/llog_obd.c | 2 +- drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 2 +- drivers/staging/lustre/lustre/ptlrpc/pinger.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-)
drivers/staging/lustre/lustre/include/dt_object.h +1 -1
@@ -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,void * key_rec); +const struct dt_it *di,void *key_rec); } dio_it; };
drivers/staging/lustre/lustre/include/lu_object.h +2 -2
@@ -1120,7 +1120,7 @@ struct lu_context_key { };#define LU_KEY_INIT (mod, type) \ - static void* mod##_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, void* data) \ + struct lu_context_key *key, void *data) \ { \ type *info = data; \ \
drivers/staging/lustre/lustre/include/lustre_lib.h +1 -1
@@ -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_cfg * lcfg); +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 ;
drivers/staging/lustre/lustre/include/lustre_net.h +1 -1
@@ -2951,7 +2951,7 @@ void ptlrpcd_decref(void);* procfs output related functions * @{ */ -const char *ll_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);
drivers/staging/lustre/lustre/include/obd_class.h +1 -1
@@ -414,7 +414,7 @@ do { \#define EXP_MD_COUNTER_INCREMENT (exp, op)#endif -static inline int lprocfs_nid_ldlm_stats_init (struct nid_stat * tmp) +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
drivers/staging/lustre/lustre/llite/llite_lib.c +1 -1
@@ -2398,7 +2398,7 @@ char *ll_get_fsname(struct super_block *sb, char *buf, int buflen)return buf; } -static char *ll_d_path (struct dentry *dentry,char *buf,int bufsize) +static char *ll_d_path (struct dentry *dentry,char *buf,int bufsize) {char *path =NULL ;
drivers/staging/lustre/lustre/llite/statahead.c +1 -1
@@ -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 char * entry_name, +static void ll_statahead_one (struct dentry *parent,const char *entry_name,int entry_name_len) {struct inode *dir = parent->d_inode;
drivers/staging/lustre/lustre/obdclass/llog_obd.c +1 -1
@@ -42,7 +42,7 @@#include "llog_internal.h" /* helper functions for calling the llog obd methods */ -static struct llog_ctxt *llog_new_ctxt (struct obd_device *obd) +static struct llog_ctxt *llog_new_ctxt (struct obd_device *obd) {struct llog_ctxt *ctxt;
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c +1 -1
@@ -175,7 +175,7 @@ const char *ll_opcode2str(__u32 opcode)return ll_rpc_opcode_table[offset].opname; } -const char *ll_eopcode2str (__u32 opcode) +const char *ll_eopcode2str (__u32 opcode) {LASSERT (ll_eopcode_table[opcode].opcode == opcode);return ll_eopcode_table[opcode].opname;
drivers/staging/lustre/lustre/ptlrpc/pinger.c +1 -1
@@ -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_item *ptlrpc_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;
Signature · 1 line
1.9.1