Merge "msm📷 correct stats query out of boundary" into dev/msm-4.4-8996au
This commit is contained in:
commit
87dfd9682c
1 changed files with 1 additions and 1 deletions
|
@ -1263,7 +1263,7 @@ int msm_isp_update_stats_stream(struct vfe_device *vfe_dev, void *arg)
|
|||
&update_cmd->update_info[i];
|
||||
/*check array reference bounds*/
|
||||
if (STATS_IDX(update_info->stream_handle)
|
||||
> vfe_dev->hw_info->stats_hw_info->num_stats_type) {
|
||||
>= vfe_dev->hw_info->stats_hw_info->num_stats_type) {
|
||||
pr_err("%s: stats idx %d out of bound!", __func__,
|
||||
STATS_IDX(update_info->stream_handle));
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Add table
Reference in a new issue