]> asedeno.scripts.mit.edu Git - linux.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)
commit6e1787cf45e48866c01dadc2a1b6c3d63d75b8d1
treea101ec20fc17cd8e869e2edc1ffb1801d45ca3fe
parentf0efc831d9439589efaf6406695470eca93ba08d
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