summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Veichtlbauer <georg@vware.at>2023-11-02 09:41:07 +0100
committerGeorg Veichtlbauer <georg@vware.at>2023-11-02 09:45:37 +0100
commit2be15e8bb539bedb55fc4361a2256b5150190634 (patch)
tree226888fea74e2f903dfe60fa2f354c027fccb1d6
parent38833e6569e81c55c72466c18b2918f8cd76e1f9 (diff)
ipa_v2: Fix enum conversion warnings
Change-Id: I70ebba2c049700cebd94a23df33cb2efbb588875
-rw-r--r--drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c b/drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c
index 79515ba637ee..fefb69a84eb9 100644
--- a/drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c
@@ -449,9 +449,9 @@ int copy_ul_filter_rule_to_ipa(struct ipa_install_fltr_rule_req_msg_v01
UL_FILTER_RULE_HANDLE_START + i;
rule_hdl[i] = ipa_qmi_ctx->q6_ul_filter_rule[i].filter_hdl;
ipa_qmi_ctx->q6_ul_filter_rule[i].ip =
- rule_req->filter_spec_list[i].ip_type;
+ (enum ipa_ip_type)rule_req->filter_spec_list[i].ip_type;
ipa_qmi_ctx->q6_ul_filter_rule[i].action =
- rule_req->filter_spec_list[i].filter_action;
+ (enum ipa_flt_action)rule_req->filter_spec_list[i].filter_action;
if (rule_req->filter_spec_list[i].is_routing_table_index_valid
== true)
ipa_qmi_ctx->q6_ul_filter_rule[i].rt_tbl_idx =