Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c1185ccdfb797df82fa84b581eea128041bd63b0 Commit: c1185ccdfb797df82fa84b581eea128041bd63b0 Parent: 80b2c386f3d8c3367533a8600b599f8686c9d386 Author: Dave Airlie <[EMAIL PROTECTED]> AuthorDate: Sun Feb 18 18:23:11 2007 +1100 Committer: Dave Airlie <[EMAIL PROTECTED]> CommitDate: Sun Mar 11 12:07:17 2007 +1100
drm: add missing NULL assignment Signed-off-by: Dave Airlie <[EMAIL PROTECTED]> --- drivers/char/drm/drm_hashtab.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/char/drm/drm_hashtab.c b/drivers/char/drm/drm_hashtab.c index df0c485..31acb62 100644 --- a/drivers/char/drm/drm_hashtab.c +++ b/drivers/char/drm/drm_hashtab.c @@ -43,6 +43,7 @@ int drm_ht_create(drm_open_hash_t *ht, unsigned int order) 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), - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html