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

Commit 94d59b1b authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: ipa: Fix compile warnings



Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:

 drivers/platform/msm/gsi/gsi.c:208:
   format '%lu' expects argument of type 'long unsigned int', but argument 7
     has type 'uint32_t {aka unsigned int}' [-Werror=format=]
   GSIDBG("GSI wait on chan_hld=%lu irqtyp=%lu state=%u intr=%u\n",

 drivers/platform/msm/gsi/gsi.c:4155:
   format '%d' expects argument of type 'int', but argument 6 has type
     'long unsigned int' [-Werror=format=]
  GSIDBG("reg dump ch id %d\n", chan_hdl);

Fixes: 20faea80 ("msm: ipa4: Increase the GSI command poll timeout to 10")
Fixes: b1d184d2 ("msm: IPA: support WDI3 over GSI")
Change-Id: Ic0dedbade232e2265477510288db45b0b906446f
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent e368dcad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ static void gsi_channel_state_change_wait(unsigned long chan_hdl,
			return;
		}

		GSIDBG("GSI wait on chan_hld=%lu irqtyp=%lu state=%u intr=%u\n",
		GSIDBG("GSI wait on chan_hld=%lu irqtyp=%u state=%u intr=%u\n",
			chan_hdl,
			type,
			ctx->state,
@@ -4165,7 +4165,7 @@ void gsi_wdi3_dump_register(unsigned long chan_hdl)
		pr_err("%s:%d gsi context not allocated\n", __func__, __LINE__);
		return;
	}
	GSIDBG("reg dump ch id %d\n", chan_hdl);
	GSIDBG("reg dump ch id %ld\n", chan_hdl);
	val = gsi_readl(gsi_ctx->base +
		GSI_EE_n_GSI_CH_k_CNTXT_0_OFFS(chan_hdl,
			gsi_ctx->per.ee));