From 8669cbc5e651bf4effa20e8c244a5a7d67da6fe9 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 7 Aug 2006 22:22:10 +1000 Subject: drm: move drm authentication to new generic hash table. Fix drm_remove_magic potential memory leak / corruption. Move drm authentication token hashing to new generic hash table implementation. Signed-off-by: Dave Airlie --- drivers/char/drm/drm_hashtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/char/drm/drm_hashtab.h') diff --git a/drivers/char/drm/drm_hashtab.h b/drivers/char/drm/drm_hashtab.h index 40afec05bff..9e19ef1814b 100644 --- a/drivers/char/drm/drm_hashtab.h +++ b/drivers/char/drm/drm_hashtab.h @@ -35,7 +35,7 @@ #ifndef DRM_HASHTAB_H #define DRM_HASHTAB_H -#define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) +#define drm_hash_entry(_ptr, _type, _member) list_entry(_ptr, _type, _member) typedef struct drm_hash_item{ struct hlist_node head; -- cgit v1.2.3-70-g09d2