mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 21:04:14 +00:00
[Why] A previous warning-fix commit updated type casts in the DCN3 mmhubbub code but missed updating the MCIF_ADDR macro to the correct, fully parenthesized and casted version. This caused a regression during DWB tests, where address values could be misinterpreted, potentially leading to incorrect hardware programming. [How] Updated the MCIF_ADDR macro in dcn30_mmhubbub.c to use the proper parenthesization and type casting, ensuring correct address handling. Removed redundant casts from REG_UPDATE calls for improved clarity and consistency with current coding standards. Fixes:f4cdbb5d54("drm/amd/display: Fix implicit narrowing conversion warnings") Reviewed-by: Clayton King <[email protected]> Signed-off-by: Gaghik Khachatrian <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit4f251a5e9f)