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
nexedi
linux
Commits
e7d22bc3
Commit
e7d22bc3
authored
Oct 07, 2008
by
Dave Airlie
Committed by
Dave Airlie
Oct 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i915: add missing return in error path.
Signed-off-by:
Dave Airlie
<
airlied@redhat.com
>
parent
2bdf00b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem.c
+1
-0
No files found.
drivers/gpu/drm/i915/i915_gem.c
View file @
e7d22bc3
...
@@ -146,6 +146,7 @@ i915_gem_pread_ioctl(struct drm_device *dev, void *data,
...
@@ -146,6 +146,7 @@ i915_gem_pread_ioctl(struct drm_device *dev, void *data,
if
(
ret
!=
0
)
{
if
(
ret
!=
0
)
{
drm_gem_object_unreference
(
obj
);
drm_gem_object_unreference
(
obj
);
mutex_unlock
(
&
dev
->
struct_mutex
);
mutex_unlock
(
&
dev
->
struct_mutex
);
return
ret
;
}
}
offset
=
args
->
offset
;
offset
=
args
->
offset
;
...
...
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