]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: fix ptr check warning in gfx10 ip_dump
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 7 Aug 2024 11:55:24 +0000 (17:25 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 14:34:23 +0000 (10:34 -0400)
commit98df5a7732e3b78bf8824d2938a8865a45cfc113
tree4d9d30ddf525ef1389e3e87ebb52bacf9d309634
parent07f4f9c00ec545dfa6251a44a09d2c48a76e7ee5
drm/amdgpu: fix ptr check warning in gfx10 ip_dump

Change condition, if (ptr == NULL) to if (!ptr)
for a better format and fix the warning.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c