Fixes coccicheck warning: drivers/gpu/drm/radeon/radeon_object.c:427:6-35: WARNING: Comparison to bool Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Signed-off-by: Zheng Bin <zhengbin13@xxxxxxxxxx> --- drivers/gpu/drm/radeon/radeon_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index 140d94cc080d..f06c5e9dc72c 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c @@ -424,7 +424,7 @@ int radeon_bo_evict_vram(struct radeon_device *rdev) /* late 2.6.33 fix IGP hibernate - we need pm ops to do this correct */ #ifndef CONFIG_HIBERNATION if (rdev->flags & RADEON_IS_IGP) { - if (rdev->mc.igp_sideport_enabled == false) + if (!rdev->mc.igp_sideport_enabled) /* Useless to evict on IGP chips */ return 0; } -- 2.26.0.106.g9fadedd _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx