projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30abb9
)
drm/radeon: use true,false for bool variable in rv770.c
author
zhengbin
<zhengbin13@huawei.com>
Mon, 23 Dec 2019 09:25:50 +0000
(17:25 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:59:59 +0000
(14:59 -0500)
Fixes coccicheck warning:
drivers/gpu/drm/radeon/rv770.c:1706:2-15: WARNING: Assignment of 0/1 to bool variable
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/rv770.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/rv770.c
b/drivers/gpu/drm/radeon/rv770.c
index 3fc461defeeb8407850609e7ab29a69ccd069b6d..21f653ae1e1bb1e79175c19ab8de32b379fd7f66 100644
(file)
--- a/
drivers/gpu/drm/radeon/rv770.c
+++ b/
drivers/gpu/drm/radeon/rv770.c
@@
-1703,7
+1703,7
@@
static void rv770_uvd_init(struct radeon_device *rdev)
* there. So it is pointless to try to go through that code
* hence why we disable uvd here.
*/
- rdev->has_uvd =
0
;
+ rdev->has_uvd =
false
;
return;
}
rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL;