Merge "msm: isp: Adds debug message null check"

This commit is contained in:
Linux Build Service Account 2014-07-18 19:18:37 -07:00 committed by Gerrit - the friendly Code Review server
commit 0fbbc1406c

View file

@ -1039,6 +1039,11 @@ int msm_isp_buf_mgr_debug(struct msm_isp_buf_mgr *buf_mgr)
buf_mgr->bufq[i].buf_type);
for (j = 0; j < buf_mgr->bufq[i].num_bufs; j++) {
bufs = &buf_mgr->bufq[i].bufs[j];
if (!bufs) {
pr_err("bufs at %d is NULL breaking\n",
j);
break;
}
pr_err("%s:%d buf_idx %d, frame_id %d,",
__func__, j, bufs->buf_idx,
bufs->frame_id);