diff options
| author | Gaghik Khachatrian <gaghik.khachatrian@amd.com> | 2026-04-30 03:05:29 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-11 23:10:48 +0300 |
| commit | a349b97b88e26a88171b8672cee744cac2cff5ae (patch) | |
| tree | 80bceee8cf9082fc1f937d8c7795d768effa3a15 /include | |
| parent | 293dd2182e64331727f989a323fb40227f07bcbf (diff) | |
| download | linux-a349b97b88e26a88171b8672cee744cac2cff5ae.tar.xz | |
drm/amd/display: always-true lower-bound assert
[Why]
A recent type change made the lower-bound part of the OTG instance
assert redundant, which can trigger static-analysis noise and distract
from actionable diagnostics.
[How]
Kept the meaningful upper-bound range validation required for safe
narrowing to uint8_t. Removed the redundant non-negative portion of the
assert so the check matches current type semantics. Revalidated with the
latest debug build log: no warnings and no build-failure markers.
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com>
Signed-off-by: James Lin <pinglei.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
