msm: ipa: typo in ioctl ipa3_ioctl_mdfy_flt_rule_v2 function

Fixes the typo while type casting the kernel pointer.

Change-Id: Ie8e1128b2edf6cb2b1aff71ddaf0fdee286737c5
Acked-by: Suhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This commit is contained in:
Michael Adisumarta 2019-10-31 20:50:29 -07:00 • committed by Gerrit - the friendly Code Review server
commit e1cf8420df

View file

@ -1309,7 +1309,7 @@ static int ipa3_ioctl_mdfy_flt_rule_v2(unsigned long arg)
((struct ipa_ioc_mdfy_flt_rule_v2 *)
header)->rule_mdfy_size);
/* modify the rule pointer to the kernel pointer */
((struct ipa_ioc_add_flt_rule_after_v2 *)header)->rules =
((struct ipa_ioc_mdfy_flt_rule_v2 *)header)->rules =
(u64)kptr;
if (ipa3_mdfy_flt_rule_v2
((struct ipa_ioc_mdfy_flt_rule_v2 *)header)) {