]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: correct DSI id bounds check during registration
authorLloyd Atkinson <latkinso@codeaurora.org>
Tue, 16 Jan 2018 21:26:02 +0000 (16:26 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 20 Feb 2018 15:41:20 +0000 (10:41 -0500)
commitf539ceff1e8b93863ac296e67e75036e493e04c4
treea101ec20fc17cd8e869e2edc1ffb1801d45ca3fe
parent72e5fe4cc1552933b8342c9b5e533df718f5a53f
drm/msm/dsi: correct DSI id bounds check during registration

Check DSI instance id argument against the proper boundary size
to protect against invalid configuration of the DSI id.

Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_manager.c