Commit 54442610 authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman

drivers: staging: lustre: Fix "'foo * bar' should be 'foo *bar'" errors

Fix checkpatch.pl "'foo * bar' should be 'foo *bar'" errors
Signed-off-by: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9e2fa69
...@@ -667,7 +667,7 @@ static inline int lu_device_is_dt(const struct lu_device *d) ...@@ -667,7 +667,7 @@ static inline int lu_device_is_dt(const struct lu_device *d)
return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_DT); return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_DT);
} }
static inline struct dt_device * lu2dt_dev(struct lu_device *l) static inline struct dt_device *lu2dt_dev(struct lu_device *l)
{ {
LASSERT(lu_device_is_dt(l)); LASSERT(lu_device_is_dt(l));
return container_of0(l, struct dt_device, dd_lu_dev); return container_of0(l, struct dt_device, dd_lu_dev);
......
...@@ -557,7 +557,7 @@ extern void lprocfs_free_obd_stats(struct obd_device *obddev); ...@@ -557,7 +557,7 @@ extern void lprocfs_free_obd_stats(struct obd_device *obddev);
extern void lprocfs_free_md_stats(struct obd_device *obddev); extern void lprocfs_free_md_stats(struct obd_device *obddev);
struct obd_export; struct obd_export;
struct nid_stat; struct nid_stat;
extern int lprocfs_add_clear_entry(struct obd_device * obd, extern int lprocfs_add_clear_entry(struct obd_device *obd,
struct proc_dir_entry *entry); struct proc_dir_entry *entry);
extern int lprocfs_exp_setup(struct obd_export *exp, extern int lprocfs_exp_setup(struct obd_export *exp,
lnet_nid_t *peer_nid, int *newnid); lnet_nid_t *peer_nid, int *newnid);
......
...@@ -1446,7 +1446,7 @@ static inline void check_res_locked(struct ldlm_resource *res) ...@@ -1446,7 +1446,7 @@ static inline void check_res_locked(struct ldlm_resource *res)
assert_spin_locked(&res->lr_lock); assert_spin_locked(&res->lr_lock);
} }
struct ldlm_resource * lock_res_and_lock(struct ldlm_lock *lock); struct ldlm_resource *lock_res_and_lock(struct ldlm_lock *lock);
void unlock_res_and_lock(struct ldlm_lock *lock); void unlock_res_and_lock(struct ldlm_lock *lock);
/* ldlm_pool.c */ /* ldlm_pool.c */
......
...@@ -524,8 +524,8 @@ void class_obd_list(void) ...@@ -524,8 +524,8 @@ void class_obd_list(void)
/* Search for a client OBD connected to tgt_uuid. If grp_uuid is /* Search for a client OBD connected to tgt_uuid. If grp_uuid is
specified, then only the client with that uuid is returned, specified, then only the client with that uuid is returned,
otherwise any client connected to the tgt is returned. */ otherwise any client connected to the tgt is returned. */
struct obd_device * class_find_client_obd(struct obd_uuid *tgt_uuid, struct obd_device *class_find_client_obd(struct obd_uuid *tgt_uuid,
const char * typ_name, const char *typ_name,
struct obd_uuid *grp_uuid) struct obd_uuid *grp_uuid)
{ {
int i; int i;
...@@ -557,7 +557,7 @@ EXPORT_SYMBOL(class_find_client_obd); ...@@ -557,7 +557,7 @@ EXPORT_SYMBOL(class_find_client_obd);
searching at *next, and if a device is found, the next index to look searching at *next, and if a device is found, the next index to look
at is saved in *next. If next is NULL, then the first matching device at is saved in *next. If next is NULL, then the first matching device
will always be returned. */ will always be returned. */
struct obd_device * class_devices_in_group(struct obd_uuid *grp_uuid, int *next) struct obd_device *class_devices_in_group(struct obd_uuid *grp_uuid, int *next)
{ {
int i; int i;
...@@ -1783,7 +1783,7 @@ EXPORT_SYMBOL(kuc_len); ...@@ -1783,7 +1783,7 @@ EXPORT_SYMBOL(kuc_len);
* @param p Pointer to payload area * @param p Pointer to payload area
* @returns Pointer to kuc header * @returns Pointer to kuc header
*/ */
struct kuc_hdr * kuc_ptr(void *p) struct kuc_hdr *kuc_ptr(void *p)
{ {
struct kuc_hdr *lh = ((struct kuc_hdr *)p) - 1; struct kuc_hdr *lh = ((struct kuc_hdr *)p) - 1;
LASSERT(lh->kuc_magic == KUC_MAGIC); LASSERT(lh->kuc_magic == KUC_MAGIC);
......
...@@ -166,14 +166,14 @@ int obd_ioctl_popdata(void *arg, void *data, int len) ...@@ -166,14 +166,14 @@ int obd_ioctl_popdata(void *arg, void *data, int len)
EXPORT_SYMBOL(obd_ioctl_popdata); EXPORT_SYMBOL(obd_ioctl_popdata);
/* opening /dev/obd */ /* opening /dev/obd */
static int obd_class_open(struct inode * inode, struct file * file) static int obd_class_open(struct inode *inode, struct file *file)
{ {
try_module_get(THIS_MODULE); try_module_get(THIS_MODULE);
return 0; return 0;
} }
/* closing /dev/obd */ /* closing /dev/obd */
static int obd_class_release(struct inode * inode, struct file * file) static int obd_class_release(struct inode *inode, struct file *file)
{ {
module_put(THIS_MODULE); module_put(THIS_MODULE);
return 0; return 0;
......
...@@ -835,7 +835,7 @@ int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg) ...@@ -835,7 +835,7 @@ int class_del_conn(struct obd_device *obd, struct lustre_cfg *lcfg)
LIST_HEAD(lustre_profile_list); LIST_HEAD(lustre_profile_list);
struct lustre_profile *class_get_profile(const char * prof) struct lustre_profile *class_get_profile(const char *prof)
{ {
struct lustre_profile *lprof; struct lustre_profile *lprof;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment