[bug report] drm/amd/display: use FB pitch to fill dc_cursor_attributes

Dan Carpenter dan.carpenter at oracle.com
Mon Dec 7 17:51:57 UTC 2020


On Mon, Dec 07, 2020 at 02:53:28PM +0000, Simon Ser wrote:
> Hi,
> 
> On Monday, December 7th, 2020 at 3:51 PM, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> 
> > The patch adds some new unchecked dereferences.
> 
> The `if (!position.enable)` check above should ensure the dereference
> isn't unchecked.

Yeah.  You're correct.  Thanks, for looking into this.

regards,
dan carpenter



More information about the amd-gfx mailing list