On Mon, Apr 17, 2023, at 23:17, Hamza Mahfooz wrote: > On 4/17/23 17:05, Arnd Bergmann wrote: >> From: Arnd Bergmann <arnd@xxxxxxxx> >> >> Three functions in the amdgpu display driver cause -Wmissing-prototype >> warnings: >> >> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1858:6: error: no previous prototype for 'is_timing_changed' [-Werror=missing-prototypes] >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:210:6: error: no previous prototype for 'is_synaptics_cascaded_panamera' [-Werror=missing-prototypes] >> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_optc.c:294:6: error: no previous prototype for 'optc3_wait_drr_doublebuffer_pending_clear' [-Werror=missing-prototypes] >> >> is_timing_changed() is actually meant to be a global symbol, but needs >> a proper name and prototype, while the other two can just be made static. >> >> Fixes: 54c7b715b5ef ("drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub") >> Fixes: 17ce8a6907f7 ("drm/amd/display: Add dsc pre-validation in atomic check") >> Fixes: 8f0d304d21b3 ("drm/amd/display: Do not commit pipe when updating DRR") >> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > > It seems like, only the changes for is_timing_changed() are in this patch. Indeed. I made this patch a few weeks ago, and it looks like the other two were fixed in the same way that I had in the meantime, so the other changes got silently dropped during a rebase. I've updated the changelog text and sent a v2 now. Arnd