Check DSI instance id argument against the proper boundary size
to protect against invalid configuration of the DSI id.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi_manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/dsi
.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi_manager.c | 4
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 6 +++---
drivers/gpu/drm/msm/dsi/pll/dsi_pll.c | 2 +-
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c
b/drivers/gpu/drm
Move null checks of pointer arguments to the beginning of the
modeset init function since they are referenced immediately
instead of after they have already been used.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi.c | 22 ++
1 file changed, 10 insertions
This series improves a few pointer validation checks around the
drm/msm/dsi driver.
v2 incoporates feedback on patch 1/3 and patch 3/3.
Lloyd Atkinson (3):
drm/msm/dsi: check for failure on retrieving pll in dsi manager
drm/msm/dsi: correct DSI id bounds check during registration
drm/msm
On 1/15/2018 9:48 AM, Rob Clark wrote:
> On Fri, Jan 12, 2018 at 3:55 PM, Lloyd Atkinson
> wrote:
>> Move null checks of pointer arguments to the beginning of the
>> modeset init function since they are referenced immediately
>> instead of after they have already been u
Move null checks of pointer arguments to the beginning of the
modeset init function since they are referenced immediately
instead of after they have already been used.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi.c | 22 ++
1 file changed, 10 insertions
Check DSI instance id argument against the proper boundary size
to protect against invalid configuration of the DSI id.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi_manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/dsi
Add checks for failure after retrieving the src_pll, since it
may fail. This prevents an invalid pointer dereference later in
msm_dsi_pll_get_clk_provider.
Signed-off-by: Lloyd Atkinson
---
drivers/gpu/drm/msm/dsi/dsi_manager.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu
This series improves a few pointer validation checks around the
drm/msm/dsi driver.
Lloyd Atkinson (3):
drm/msm/dsi: check src_pll for null in dsi manager
drm/msm/dsi: correct DSI id bounds check during registration
drm/msm/dsi: check msm_dsi and dsi pointers before use
drivers/gpu/drm
t is the reason to clear the vrefresh within
drm_display_mode_from_vic_index?
Thanks,
Lloyd Atkinson
--
QUALCOMM Canada, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
___
dri-
10 matches
Mail list logo