diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-12 08:16:03 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-12 08:18:27 +0100 |
commit | 1f6c45ac5fd70ab59136ab5babc7def269f3f509 (patch) | |
tree | 43a775f5f96924796fea1ab5e712ba4221791d6b /Documentation/maintainer/maintainer-entry-profile.rst | |
parent | media: imx: imx7_mipi_csis: Print shadow registers in mipi_csis_dump_regs() (diff) | |
download | linux-dev-1f6c45ac5fd70ab59136ab5babc7def269f3f509.tar.xz linux-dev-1f6c45ac5fd70ab59136ab5babc7def269f3f509.zip |
atomisp: don't let it go past pipes array
In practice, IA_CSS_PIPE_ID_NUM should never be used when
calling atomisp_q_video_buffers_to_css(), as the driver should
discover the right pipe before calling it.
Yet, if some pipe parsing issue happens, it could end using
it.
So, add a WARN_ON() to prevent such case.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/maintainer/maintainer-entry-profile.rst')
0 files changed, 0 insertions, 0 deletions