Displaying 1 result from an estimated 1 matches for "hprintk".
Did you mean:
printk
2012 Dec 20
0
[PATCH] drm/nouveau: don't return freed object from nouveau_handle_create
...NAMEDB_CLASS))
namedb = namedb->parent;
- handle = *phandle = kzalloc(sizeof(*handle), GFP_KERNEL);
+ handle = kzalloc(sizeof(*handle), GFP_KERNEL);
if (!handle)
return -ENOMEM;
@@ -146,6 +146,9 @@ nouveau_handle_create(struct nouveau_object *parent, u32 _parent, u32 _handle,
}
hprintk(handle, TRACE, "created\n");
+
+ *phandle = handle;
+
return 0;
}
--
1.8.0.2