Skip to content

radesonsi: Remove unsigned comparison to zero.

Vinson Lee requested to merge vlee/mesa:fix-cid-1465127 into master

cbuf was changed to unsigned in commit 3fec2f67 ("radeonsi: compact MRTs to save PS export memory space").

Fix defect reported by Coverity Scan.

Macro compares unsigned to 0 (NO_EFFECT) unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. cbuf >= 0U.

Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @mareko @pepp

Edited by Vinson Lee

Merge request reports