Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0267e626 authored by Michael Adisumarta's avatar Michael Adisumarta Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSuhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent cd46ff3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2460,7 +2460,7 @@ static long ipa3_ioctl(struct file *filp, unsigned int cmd, 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 =
			(uintptr_t)kptr;
		if (ipa3_mdfy_flt_rule_v2
			((struct ipa_ioc_mdfy_flt_rule_v2 *)header)) {