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

Skip to content
Commit d926d6e2 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: cvp: Fix compile warnings in msm_cvp_common.c



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

 drivers/media/platform/msm/cvp/msm_cvp_common.c:608:
   format '%d' expects argument of type 'int', but argument 4 has type 'struct msm_cvp_inst *' [-Werror=format=]
   dprintk(CVP_DBG, "%s: inst=%d\n", __func__, inst);

 drivers/media/platform/msm/cvp/msm_cvp_common.c:2158:
   format '%s' expects a matching 'char *' argument [-Werror=format=]
   dprintk(CVP_ERR,

 drivers/media/platform/msm/cvp/msm_cvp_common.c:2826:
   'e' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   msm_cvp_debugfs_update(inst, e);

Fixes: 9b628d2a ("msm: cvp: Add Qualcomm CVP driver for Kona")
Change-Id: Ic0dedbadd44ad9bd46b60ad0acb4b62ed7f2768f
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 59eb6135
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