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

Skip to content
Commit 1d790b7b authored by Jordan Crouse's avatar Jordan Crouse Committed by Sumukh Hallymysore Ravindra
Browse files

msm: synx: Fix compile warnings



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

 drivers/media/platform/msm/synx/synx.c:117:
   format '%ld' expects argument of type 'long int', but argument 4
     has type 's32 {aka int}' [-Werror=format=]
  pr_debug("row: synx id: 0x%x, index: %ld\n",

 drivers/media/platform/msm/synx/synx.c:398:
   format '%ld' expects argument of type 'long int', but argument 4
     has type 's32 {aka int}' [-Werror=format=]
  pr_debug("row (merged): synx 0x%x, index: %ld\n",

 drivers/media/platform/msm/synx/synx.c:1059:
   format '%d' expects argument of type 'int', but argument 4
     has type 'struct synx_external_desc' [-Werror=format=]
  pr_debug("calling synx_bind: 0x%x, %d\n", synx_bind_info.synx_obj,

 drivers/media/platform/msm/synx/synx.c:334:
   this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (ret < 0) {

Fixes: fdf150a6 ("msm: global synchronization driver")
Fixes: 3c6ef89f ("msm: synx: provide function to enable external signaling")
Change-Id: Ic0dedbad58ce9d2db00e37f6baafdfa56b058ca1
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarSumukh Hallymysore Ravindra <shallymy@codeaurora.org>
parent aaa741f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment