dataipa: Fix spearhead generic stats data type
Use correct data type while generic stats pointer calculation.
Change-Id: Iea54abcc6bafeccaff8d23f28066e7f1d4cfc5b3
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_stats.c b/drivers/platform/msm/ipa/ipa_v3/ipa_stats.c
index 9199455..91b84c5 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_stats.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_stats.c
@@ -295,7 +295,7 @@
/* HOLB Monitor stats */
holb_mon_stats_ptr = (struct holb_monitor_stats *)(
- &generic_stats->holb_stats.holb_disc_stats[0] +
+ (uint64_t)&generic_stats->holb_stats.holb_disc_stats[0] +
(ipa_lnx_agent_ctx.alloc_info.num_holb_drop_stats_clients *
sizeof(struct holb_discard_stats)));
for (i = 0; i < generic_stats->holb_stats.num_holb_mon_clients; i++) {