Displaying 1 result from an estimated 1 matches for "ab2ee14".
2017 Jan 20
1
[PATCH] drm/nouveau/client: use rb_entry()
...l with rbtree.
Signed-off-by: Geliang Tang <geliangtang at gmail.com>
---
drivers/gpu/drm/nouveau/nvkm/core/client.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c b/drivers/gpu/drm/nouveau/nvkm/core/client.c
index e194391..ab2ee14 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/client.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/client.c
@@ -221,7 +221,7 @@ nvkm_client_insert(struct nvkm_client *client, struct nvkm_object *object)
while (*ptr) {
struct nvkm_object *this =
- container_of(*ptr, typeof(*this), node);
+ r...