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:
6b27662
)
drm/radeon: use true, false for bool variable in evergreen.c
author
zhengbin
<zhengbin13@huawei.com>
Mon, 23 Dec 2019 09:25:49 +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/evergreen.c:4948: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/evergreen.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/evergreen.c
b/drivers/gpu/drm/radeon/evergreen.c
index
683c790
..
14d90dc
100644
(file)
--- a/
drivers/gpu/drm/radeon/evergreen.c
+++ b/
drivers/gpu/drm/radeon/evergreen.c
@@
-4945,7
+4945,7
@@
static void evergreen_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;