mirror of https://gitee.com/openkylin/linux.git
drivers: staging: lustre: Fix "spaces required around that '='" errors
Fix checkpatch.pl "spaces required around that '='" errors Signed-off-by: Greg Donald <gdonald@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
544426100b
commit
31e7213ab2
|
@ -162,7 +162,7 @@ static int __init init_lustre_lite(void)
|
|||
|
||||
/* Nodes with small feet have little entropy
|
||||
* the NID for this node gives the most entropy in the low bits */
|
||||
for (i=0; ; i++) {
|
||||
for (i = 0; ; i++) {
|
||||
if (LNetGetId(i, &lnet_id) == -ENOENT) {
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -317,7 +317,7 @@ struct obd_device *class_newdev(const char *type_name, const char *name)
|
|||
result->obd_minor, new_obd_minor);
|
||||
|
||||
obd_devs[result->obd_minor] = NULL;
|
||||
result->obd_name[0]='\0';
|
||||
result->obd_name[0] = '\0';
|
||||
}
|
||||
result = ERR_PTR(-EEXIST);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue