[PATCH] drm/amdgpu: Fix NULL pointer dereference

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Fri Apr 8 11:28:25 UTC 2022


On Fri, Apr 8, 2022 at 12:01 PM Simon Ser <contact at emersion.fr> wrote:
>
> Is amdgpu_display_get_fb_info ever called with NULL tiling_flags/tmz_surface?
> If not, there's no point in adding NULL checks.

It isn't called with NULL anywhere, the NULL checks that already exist
seem redundant.


More information about the amd-gfx mailing list