RE: [bug report] drm/amdgpu: add ring buffer information in devcoredump

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

 



[AMD Official Use Only - General]

Got it. Thanks for reported that. Sent the patch for review.

Regards
Sunil khatri

-----Original Message-----
From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Sent: Saturday, March 16, 2024 2:42 PM
To: Khatri, Sunil <Sunil.Khatri@xxxxxxx>
Cc: Khatri, Sunil <Sunil.Khatri@xxxxxxx>; Koenig, Christian <Christian.Koenig@xxxxxxx>; Deucher, Alexander <Alexander.Deucher@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [bug report] drm/amdgpu: add ring buffer information in devcoredump

The static checker is just complaining about NULL checking that doesn't make sense.  It raises the question, can the pointer be NULL or not?

Based on your comments and from reviewing the code, I do not think it can be NULL.  Thus the correct thing is to remove the unnecessary NULL check.

regards,
dan carpenter





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

  Powered by Linux