drm/amd/display: fix MIN_I64 overflow on bw_fixed.c
Status from this message: Applied the series. Thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/amd/display: fix overflow on MIN_I64 definitiondrivers/ | +3 | 0 replies | |
| 2/2 | drm/amd/display: fix minor codestyle problemsdrivers/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drm/amd/display: fix MIN_I64 overflow on bw_fixed.c
Hi,
This series fixes an error accused by GCC and some checkpatch warnings.
The first patch of this series fixes an error reported and fixed by David Gow (thanks!) at [1], where the macro MIN_I64 was used for the first time and warned about an integer overflow.
The fix uses a similar syntax from include/vdso/limits.h
To cause the error you can either apply that series or, for example, define a global variable:
int64_t min_i64 = MIN_I64;
The second patch fix lesser warnings in the same file.
Thanks for the review!
[1] https://lore.kernel.org/amd-gfx/CABVgOSmkeybnR2sGEEgn1Cb0cR2eKxW=vhXkHjC5xCuhaxsqVg@mail.gmail.com/
David Gow (1):
drm/amd/display: fix overflow on MIN_I64 definition
Tales Aparecida (1):
drm/amd/display: fix minor codestyle problems
.../gpu/drm/amd/display/dc/dml/calcs/bw_fixed.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
base-commit: 1a60172c97fd2b51151cf17483f372bb61246c0b
Signature · 1 line
2.37.0