mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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:
parent
20ebbed266
commit
69f3ae926c
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue