[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.carpen...@linaro.org>
Sent: Saturday, March 16, 2024 2:42 PM
To: Khatri, Sunil <sunil.kha...@amd.com>
Cc: Khatri, Sunil <sunil.kha...@amd.com>; Koenig, Christian 
<christian.koe...@amd.com>; Deucher, Alexander <alexander.deuc...@amd.com>; 
amd-gfx@lists.freedesktop.org
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

Reply via email to