projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a11843
)
drm/ast: fix value check in cbr_scan2
author
Dave Airlie
<airlied@gmail.com>
Wed, 16 Apr 2014 09:42:24 +0000
(19:42 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 18 Apr 2014 03:18:01 +0000
(13:18 +1000)
this is a typo vs the ums driver, fix to check correct value.
Found initially by Coverity.
Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_post.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ast/ast_post.c
b/drivers/gpu/drm/ast/ast_post.c
index
977cfb3
..
635f6ff
100644
(file)
--- a/
drivers/gpu/drm/ast/ast_post.c
+++ b/
drivers/gpu/drm/ast/ast_post.c
@@
-572,7
+572,7
@@
static u32 cbr_scan2(struct ast_private *ast)
for (loop = 0; loop < CBR_PASSNUM2; loop++) {
if ((data = cbr_test2(ast)) != 0) {
data2 &= data;
- if (!data)
+ if (!data
2
)
return 0;
break;
}