Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1185ccd authored by Dave Airlie's avatar Dave Airlie
Browse files

drm: add missing NULL assignment



Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 80b2c386
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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),