Clang warns:
../drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c:704:24: warning: implicit
conversion from enumeration type 'enum qmi_result_type_v01' to different
enumeration type 'enum ipa_qmi_result_type_v01' [-Wenum-conversion]
req->install_status = QMI_RESULT_SUCCESS_V01;
~ ^~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Use the proper enum type, which has the same value.
Fixes:
14bf6793b8e8 ("msm: ipa3: support IPA driver")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
/* send ipa_fltr_installed_notif_req_msg_v01 to Q6*/
req->source_pipe_index =
ipa2_get_ep_mapping(IPA_CLIENT_APPS_LAN_WAN_PROD);
- req->install_status = QMI_RESULT_SUCCESS_V01;
+ req->install_status = IPA_QMI_RESULT_SUCCESS_V01;
req->filter_index_list_len = num_q6_rule;
mutex_lock(&ipa_qmi_lock);
for (i = 0; i < num_q6_rule; i++) {