summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-06 22:43:33 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-06 22:43:32 -0800
commit1cb56eedff6923771ac335e8a736174055fca814 (patch)
tree8ff2b4cb0cf37466bc06160a47073668e26dd249 /drivers
parent789bdd5b54528486cd996057ae0acf1dd63b61a1 (diff)
parente8900bf92d32609fb57e169c196e1c6d35d92869 (diff)
Merge "msm: isp: Fix dummy print which may leak address"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c
index 1ddf51407884..4e74851dc67d 100644
--- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c
+++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.c
@@ -39,13 +39,13 @@ static int msm_isp_axi_create_stream(struct vfe_device *vfe_dev,
struct msm_vfe_axi_stream_request_cmd *stream_cfg_cmd,
struct msm_vfe_axi_stream *stream_info)
{
- uint32_t i;
+ uint32_t i = 0;
int rc = 0;
if (stream_info->state != AVAILABLE) {
- pr_err("%s:%d invalid state %d expected %d for src %d\n",
+ pr_err("%s:%d invalid state %d expected %d\n",
__func__, __LINE__, stream_info->state,
- AVAILABLE, i);
+ AVAILABLE);
return -EINVAL;
}