msm: vidc: Use correct parameter types in callbacks

Use correct types in callback functions to avoid kernel
control flow integrity (kCFI) warnings.

Change-Id: Ia84a3d10ebb83407b4ac2c6140daec35e0698bd5
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
This commit is contained in:
Mihir Ganu 2020-03-20 20:25:34 -07:00
parent 20ebbed266
commit 69f3ae926c

View File

@ -692,7 +692,8 @@ struct hfi_device {
typedef void (*hfi_cmd_response_callback) (enum hal_command_response cmd,
void *data);
typedef void (*msm_vidc_callback) (u32 response, void *callback);
typedef void (*msm_vidc_callback) (enum hal_command_response response,
void *callback);
struct hfi_device *vidc_hfi_initialize(enum msm_vidc_hfi_type hfi_type,
u32 device_id, struct msm_vidc_platform_resources *res,