Re: [PATCH] drm/amdgpu: Fix NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, April 8th, 2022 at 13:28, Bas Nieuwenhuizen <bas@xxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, Apr 8, 2022 at 12:01 PM Simon Ser contact@xxxxxxxxxxx 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.

Grigory, would be be willing to submit a v2 which removes the unnecessary
NULL checks?




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux