commit | c1185ccdfb797df82fa84b581eea128041bd63b0 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@linux.ie> | Sun Feb 18 18:23:11 2007 +1100 |
committer | Dave Airlie <airlied@linux.ie> | Sun Mar 11 12:07:17 2007 +1100 |
tree | e0b0b6c1561a8fd81cfeca1f29d40af5ec71eadd | |
parent | 80b2c386f3d8c3367533a8600b599f8686c9d386 [diff] |
drm: add missing NULL assignment Signed-off-by: Dave Airlie <airlied@linux.ie>
diff --git a/drivers/char/drm/drm_hashtab.c b/drivers/char/drm/drm_hashtab.c index df0c4853..31acb62 100644 --- a/drivers/char/drm/drm_hashtab.c +++ b/drivers/char/drm/drm_hashtab.c
@@ -43,6 +43,7 @@ ht->size = 1 << order; ht->order = order; ht->fill = 0; + ht->table = NULL; ht->use_vmalloc = ((ht->size * sizeof(*ht->table)) > PAGE_SIZE); if (!ht->use_vmalloc) { ht->table = drm_calloc(ht->size, sizeof(*ht->table),