aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-02-02 13:26:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-07 04:18:38 -0500
commit048035bf8c7b752e9fe608ff3069e41c460efda5 (patch)
tree6e0c18f8095c5e027f2335079839826bf7011e9f /drivers/staging
parent2cc1a1b3eeee793e68f27efde9f0519c233b944f (diff)
staging/unisys/visorutil/procobjecttree: Code Style
Lines should not be over 80 characters Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/unisys/visorutil/procobjecttree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorutil/procobjecttree.c b/drivers/staging/unisys/visorutil/procobjecttree.c
index 195772d22c9e..637c5ef1a767 100644
--- a/drivers/staging/unisys/visorutil/procobjecttree.c
+++ b/drivers/staging/unisys/visorutil/procobjecttree.c
@@ -260,9 +260,9 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type,
260 ERRDRV("out of memory\n"); 260 ERRDRV("out of memory\n");
261 goto Away; 261 goto Away;
262 } 262 }
263 obj->procDirProperties = 263 obj->procDirProperties = kzalloc((type->nProperties + 1) *
264 kzalloc((type->nProperties + 1) * sizeof(struct proc_dir_entry *), 264 sizeof(struct proc_dir_entry *),
265 GFP_KERNEL | __GFP_NORETRY); 265 GFP_KERNEL | __GFP_NORETRY);
266 if (obj->procDirProperties == NULL) { 266 if (obj->procDirProperties == NULL) {
267 ERRDRV("out of memory\n"); 267 ERRDRV("out of memory\n");
268 goto Away; 268 goto Away;
@@ -276,8 +276,8 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type,
276 /* only create properties that have names */ 276 /* only create properties that have names */
277 obj->procDirProperties[i] = 277 obj->procDirProperties[i] =
278 createProcFile(type->propertyNames[i], 278 createProcFile(type->propertyNames[i],
279 obj->procDir, &proc_fops, 279 obj->procDir, &proc_fops,
280 &obj->procDirPropertyContexts[i]); 280 &obj->procDirPropertyContexts[i]);
281 if (obj->procDirProperties[i] == NULL) { 281 if (obj->procDirProperties[i] == NULL) {
282 rc = NULL; 282 rc = NULL;
283 goto Away; 283 goto Away;