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

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

msm: ipa4: Fix compile warnings



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

 drivers/platform/msm/gsi/gsi.c:3700:
   format '%d' expects argument of type 'int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
     GSIDBG("In IEOB WA pnd cnt = %d prvmode = %d\n",

Fixes: 10897b13 ("msm: ipa4: Fix race condition gsi channel polling mode variable")
Change-Id: Ic0dedbadbe3ac65c2d0e0de7acd8b8eb4af4b2d6
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 99508f0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3697,7 +3697,7 @@ int gsi_config_channel_mode(unsigned long chan_hdl, enum gsi_chan_mode mode)
				spin_unlock_irqrestore(
					&ctx->evtr->ring.slock, flags);
				ctx->stats.poll_pending_irq++;
				GSIDBG("In IEOB WA pnd cnt = %d prvmode = %d\n",
				GSIDBG("In IEOB WA pnd cnt = %ld prvmode = %d\n",
						ctx->stats.poll_pending_irq,
						chan_mode);
				if (chan_mode == GSI_CHAN_MODE_POLL)