]> 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)
commit453cfe0233d76d77915710eb5eeb41b0bb5fc2b6
treea101ec20fc17cd8e869e2edc1ffb1801d45ca3fe
parentc24c74e4e11aa6504cdbf4f8cf91745d4ce3a861
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