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

Commit e6b6c828 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: gsi: Fix compile warnings



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

 drivers/platform/msm/gsi/gsi.c:3230:
   format '%lu' expects argument of type 'long unsigned int', but argument 7
     has type 'int' [-Werror=format=]
   GSIDBG("ch=%lu ev=%lu RP=0x%llx WP=0x%llx RP_LOCAL=0x%llx\n",

Fixes: a68620c2 ("msm: ipa: GSI coalescing changes")
Change-Id: Ic0dedbad1af31a5c932d5ddbd8685a3bf9038d68
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 6102c968
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3285,7 +3285,7 @@ int gsi_is_channel_empty(unsigned long chan_hdl, bool *is_empty)
	spin_unlock_irqrestore(slock, flags);

	if (ctx->props.dir == GSI_CHAN_DIR_FROM_GSI && ctx->evtr)
		GSIDBG("ch=%lu ev=%lu RP=0x%llx WP=0x%llx RP_LOCAL=0x%llx\n",
		GSIDBG("ch=%ld ev=%d RP=0x%llx WP=0x%llx RP_LOCAL=0x%llx\n",
			chan_hdl, ctx->evtr->id, rp, wp, rp_local);
	else
		GSIDBG("ch=%lu RP=0x%llx WP=0x%llx RP_LOCAL=0x%llx\n",