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=vhxkhjc5xcuhaxs...@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
--
2.37.0