Commit 048035bf authored by Ricardo Ribalda Delgado's avatar Ricardo Ribalda Delgado Committed by Greg Kroah-Hartman

staging/unisys/visorutil/procobjecttree: Code Style

Lines should not be over 80 characters
Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cc1a1b3
...@@ -260,9 +260,9 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type, ...@@ -260,9 +260,9 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type,
ERRDRV("out of memory\n"); ERRDRV("out of memory\n");
goto Away; goto Away;
} }
obj->procDirProperties = obj->procDirProperties = kzalloc((type->nProperties + 1) *
kzalloc((type->nProperties + 1) * sizeof(struct proc_dir_entry *), sizeof(struct proc_dir_entry *),
GFP_KERNEL | __GFP_NORETRY); GFP_KERNEL | __GFP_NORETRY);
if (obj->procDirProperties == NULL) { if (obj->procDirProperties == NULL) {
ERRDRV("out of memory\n"); ERRDRV("out of memory\n");
goto Away; goto Away;
...@@ -276,8 +276,8 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type, ...@@ -276,8 +276,8 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type,
/* only create properties that have names */ /* only create properties that have names */
obj->procDirProperties[i] = obj->procDirProperties[i] =
createProcFile(type->propertyNames[i], createProcFile(type->propertyNames[i],
obj->procDir, &proc_fops, obj->procDir, &proc_fops,
&obj->procDirPropertyContexts[i]); &obj->procDirPropertyContexts[i]);
if (obj->procDirProperties[i] == NULL) { if (obj->procDirProperties[i] == NULL) {
rc = NULL; rc = NULL;
goto Away; goto Away;
......
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