search for: nouveau_object_mag

Displaying 2 results from an estimated 2 matches for "nouveau_object_mag".

Did you mean: nouveau_object_magic
2012 Aug 19
1
[PATCH 09/10] drm/nv50/evo: store iomem pointer in properly typed field
...eau_channel), GFP_KERNEL); @@ -142,7 +148,8 @@ nv50_evo_channel_new(struct drm_device *dev, int chid, return ret; } - evo->object = kzalloc(sizeof(*evo->object), GFP_KERNEL); + evo_object = kzalloc(sizeof(*evo_object), GFP_KERNEL); + evo->object = &evo_object->parent; #ifdef NOUVEAU_OBJECT_MAGIC evo->object->_magic = NOUVEAU_OBJECT_MAGIC; #endif @@ -154,8 +161,7 @@ nv50_evo_channel_new(struct drm_device *dev, int chid, kzalloc(sizeof(*evo->object->oclass->ofuncs), GFP_KERNEL); evo->object->oclass->ofuncs->rd32 = nv50_evo_rd32; evo->object->oclas...
2012 Aug 19
1
[PATCH 06/10] drm/nouveau: sparse fixes
...core/object.c index d94cb66..0daab62 100644 --- a/drivers/gpu/drm/nouveau/core/core/object.c +++ b/drivers/gpu/drm/nouveau/core/core/object.c @@ -449,7 +449,7 @@ nouveau_object_dec(struct nouveau_object *object, bool suspend) } void -nouveau_object_debug() +nouveau_object_debug(void) { #ifdef NOUVEAU_OBJECT_MAGIC struct nouveau_object *object; diff --git a/drivers/gpu/drm/nouveau/core/subdev/device/base.c b/drivers/gpu/drm/nouveau/core/subdev/device/base.c index d4abca7..afc6be0 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/device/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/device/base.c @@ -70,...