Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: add missing void parameter to dc_create_transfer_func

Add a missing void parameter to function dc_create_transfer_func, fixes
sparse warning:

warning: non-ANSI function declaration of function 'dc_create_transfer_func'

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Colin Ian King and committed by
Alex Deucher
7ac7aebe 77605e43

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
··· 192 192 kref_put(&tf->refcount, dc_transfer_func_free); 193 193 } 194 194 195 - struct dc_transfer_func *dc_create_transfer_func() 195 + struct dc_transfer_func *dc_create_transfer_func(void) 196 196 { 197 197 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); 198 198