projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b2c38
)
drm: add missing NULL assignment
author
Dave Airlie
<airlied@linux.ie>
Sun, 18 Feb 2007 07:23:11 +0000
(18:23 +1100)
committer
Dave Airlie
<airlied@linux.ie>
Sun, 11 Mar 2007 01:07:17 +0000
(12:07 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_hashtab.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/drm_hashtab.c
b/drivers/char/drm/drm_hashtab.c
index df0c48539ca451f58dcc28fb2a8ea2e6a1ab6fb5..31acb621dcce1e4fd813b0422b8afefb339d53fe 100644
(file)
--- 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),