Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7a3f1f21
Commit
7a3f1f21
authored
Aug 07, 2006
by
Thomas Hellstrom
Committed by
Dave Airlie
Sep 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: missing mutex unlock
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
33229601
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/char/drm/drm_bufs.c
drivers/char/drm/drm_bufs.c
+3
-1
No files found.
drivers/char/drm/drm_bufs.c
View file @
7a3f1f21
...
...
@@ -441,8 +441,10 @@ int drm_rmmap_ioctl(struct inode *inode, struct file *filp,
return
-
EINVAL
;
}
if
(
!
map
)
if
(
!
map
)
{
mutex_unlock
(
&
dev
->
struct_mutex
);
return
-
EINVAL
;
}
/* Register and framebuffer maps are permanent */
if
((
map
->
type
==
_DRM_REGISTERS
)
||
(
map
->
type
==
_DRM_FRAME_BUFFER
))
{
...
...
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