]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Fix Silence warnings
authorGaghik Khachatrian <gaghik.khachatrian@amd.com>
Sat, 7 Mar 2026 23:57:57 +0000 (18:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:15:31 +0000 (14:15 -0400)
commit60e8ffaf96267e8c520ffa9411f4893ace7a0a11
tree83e319cfa95fa5f6d140abfc5e9c7669652f8ed0
parenta3c7ab163ba9ca4f7d9f85d271c7b8dd47e5f540
drm/amd/display: Fix Silence warnings

Also affects: freesync, hdcp, info_packet, power

[Why] Resolve compiler warnings by marking unused parameters explicitly.

[How] In .c/.h keep parameter names in signatures and add a line with
      `(void)param;`  inside the function body

Preserved function signatures and avoids breaking code paths that
may reference the parameter under conditional compilation.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h