Explorar o código

Merge "dataipa: Fix spearhead generic stats data type"

qctecmdr %!s(int64=2) %!d(string=hai) anos
pai
achega
1409670495
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_stats.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_stats.c

@@ -295,7 +295,7 @@ static int ipa_get_generic_stats(unsigned long arg)
 
 	/* 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++) {