]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: fix ptr check warning in gfx12 ip_dump
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 7 Aug 2024 11:58:02 +0000 (17:28 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 14:34:51 +0000 (10:34 -0400)
commit9b7e697839c2745c10f63fe5fd54c9e328fa2e3b
treedf03f32e947afff0712b9bcf02f84d1b0d6aeaa5
parentbd15f805cdc503ac229a14f5fe21db12e6e7f84a
drm/amdgpu: fix ptr check warning in gfx12 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_v12_0.c