Loading drivers/misc/compat_qseecom.c +3 −0 Original line number Diff line number Diff line Loading @@ -219,9 +219,12 @@ static int compat_get_qseecom_wipe_key_req( { int err; compat_uint_t usage; compat_int_t wipe_key_flag; err = get_user(usage, &data32->usage); err |= put_user(usage, &data->usage); err |= get_user(wipe_key_flag, &data32->wipe_key_flag); err |= put_user(wipe_key_flag, &data->wipe_key_flag); return err; } Loading include/uapi/linux/compat_qseecom.h +1 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ struct compat_qseecom_create_key_req { struct compat_qseecom_wipe_key_req { enum qseecom_key_management_usage_type usage; compat_int_t wipe_key_flag; }; struct compat_qseecom_update_key_userinfo_req { Loading Loading
drivers/misc/compat_qseecom.c +3 −0 Original line number Diff line number Diff line Loading @@ -219,9 +219,12 @@ static int compat_get_qseecom_wipe_key_req( { int err; compat_uint_t usage; compat_int_t wipe_key_flag; err = get_user(usage, &data32->usage); err |= put_user(usage, &data->usage); err |= get_user(wipe_key_flag, &data32->wipe_key_flag); err |= put_user(wipe_key_flag, &data->wipe_key_flag); return err; } Loading
include/uapi/linux/compat_qseecom.h +1 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ struct compat_qseecom_create_key_req { struct compat_qseecom_wipe_key_req { enum qseecom_key_management_usage_type usage; compat_int_t wipe_key_flag; }; struct compat_qseecom_update_key_userinfo_req { Loading