[PATCH] drm/msm/a6xx: fix a potential overflow issue

Zhenzhong Duan zhenzhong.duan at gmail.com
Wed Sep 16 02:28:54 UTC 2020


On Tue, Sep 15, 2020 at 12:20 AM Jordan Crouse <jcrouse at codeaurora.org> wrote:
>
> On Sat, Sep 12, 2020 at 06:25:58PM +0800, Zhenzhong Duan wrote:
> > It's allocating an array of a6xx_gpu_state_obj structure rathor than
> > its pointers.
> >
> > This patch fix it.
> >
> > Signed-off-by: Zhenzhong Duan <zhenzhong.duan at gmail.com>
>
> LGTM but should have a Fixes: tag for the stable trees
>
> Fixes: d6852b4b2d01 ("drm/msm/a6xx: Track and manage a6xx state memory")
> Reviewed-by: Jordan Crouse <jcrouse at codeaurora.org>

I had sent a v2 version with same change as you suggested on Sep 14,
could you help review it? Thanks
https://lkml.org/lkml/2020/9/13/311


More information about the dri-devel mailing list