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
0a0c721d
Commit
0a0c721d
authored
Aug 16, 2006
by
Thomas Hellstrom
Committed by
Dave Airlie
Sep 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: avoid kernel oops in some error paths calling drm_lastclose
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
bd5af078
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
drivers/char/drm/drm_drv.c
drivers/char/drm/drm_drv.c
+6
-4
No files found.
drivers/char/drm/drm_drv.c
View file @
0a0c721d
...
...
@@ -155,11 +155,13 @@ int drm_lastclose(drm_device_t * dev)
del_timer
(
&
dev
->
timer
);
/* Clear pid list */
if
(
dev
->
magicfree
.
next
)
{
list_for_each_entry_safe
(
pt
,
next
,
&
dev
->
magicfree
,
head
)
{
list_del
(
&
pt
->
head
);
drm_ht_remove_item
(
&
dev
->
magiclist
,
&
pt
->
hash_item
);
drm_free
(
pt
,
sizeof
(
*
pt
),
DRM_MEM_MAGIC
);
}
}
/* Clear AGP information */
if
(
drm_core_has_AGP
(
dev
)
&&
dev
->
agp
)
{
...
...
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