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:Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by:
Sumukh Hallymysore Ravindra <shallymy@codeaurora.org>
Loading
Please register or sign in to comment