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

Commit f2f8d36e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm:ipa3: Return if RT table size is 0"

parents b24f61b1 52385315
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -332,8 +332,8 @@ static int ipa_prep_rt_tbl_for_cmt(enum ipa_ip_type ip,

	if ((tbl->sz[IPA_RULE_HASHABLE] +
		tbl->sz[IPA_RULE_NON_HASHABLE]) == 0) {
		WARN_ON_RATELIMIT_IPA(1);
		IPAERR_RL("rt tbl %s is with zero total size\n", tbl->name);
		IPADBG("rt tbl %s is with zero total size\n", tbl->name);
		return 0;
	}

	hdr_width = ipahal_get_hw_tbl_hdr_width();