mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Merge "msm: isp: Adds debug message null check"
This commit is contained in:
commit
0fbbc1406c
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue