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

Commit 7d75194e authored by Teng Fei Fan's avatar Teng Fei Fan
Browse files

msm: ipa: changes log for ipa driver



When compiling 32 bit kernel, ipa driver can not be compiled successflly
, because some data type conversion is incorrect. This patch support ipa
driver to be compiled successfully when compiling 32 bit kernel.

Change-Id: I6573204627c1b3fc0b70eea0695e84724fd3f69e
Signed-off-by: default avatarTeng Fei Fan <tengfei@codeaurora.org>
parent d0edcda0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -103,7 +103,7 @@ int __ipa_generate_rt_hw_rule_v2(enum ipa_ip_type ip,
		entry->hw_len = buf - start;
	} else if (entry->hw_len != (buf - start)) {
		IPAERR(
		"hw_len differs b/w passes passed=0x%x calc=0x%lxtd\n",
		"hw_len differs b/w passes passed=0x%x calc=0x%zxtd\n",
		entry->hw_len,
		(buf - start));
		return -EPERM;
@@ -197,7 +197,7 @@ int __ipa_generate_rt_hw_rule_v2_5(enum ipa_ip_type ip,
	if (entry->hw_len == 0) {
		entry->hw_len = buf - start;
	} else if (entry->hw_len != (buf - start)) {
		IPAERR("hw_len differs b/w passes passed=0x%x calc=0x%lxtd\n",
		IPAERR("hw_len differs b/w passes passed=0x%x calc=0x%zxtd\n",
			entry->hw_len, (buf - start));
		return -EPERM;
	}