Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
c1185ccd
Commit
c1185ccd
authored
Feb 18, 2007
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: add missing NULL assignment
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
80b2c386
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/char/drm/drm_hashtab.c
drivers/char/drm/drm_hashtab.c
+1
-0
No files found.
drivers/char/drm/drm_hashtab.c
View file @
c1185ccd
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment