linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay
Arnd Bergmann eafc9c2704 amdgpu: use NULL instead of 0 for pointer
In the AMD powerplay driver, a pointer is checked for validity by
comparing against an integer '0', which causes a harmless warning
when building with "make W=1":

drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/processpptables.c:1502:16: error: ordered comparison of pointer with integer zero [-Werror=extra]

This changes the code to the more conventional "if (pointer)" check.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-07-07 14:54:43 -04:00
..
eventmgr drm/amd/powerplay: add event task of disable dynamic state management 2016-07-07 14:51:35 -04:00
hwmgr amdgpu: use NULL instead of 0 for pointer 2016-07-07 14:54:43 -04:00
inc drm/amd/powerplay: remove useless pp_table codes for Tonga/Fiji/Polaris10 2016-07-07 14:51:38 -04:00
smumgr drm/amd/powerplay: enable avfs feature for polaris 2016-06-21 10:22:41 -04:00
amd_powerplay.c drm/amd/powerplay: add uploading pptable and resetting powerplay support 2016-07-07 14:51:38 -04:00
Kconfig drm/amd/powerplay: add basic powerplay framework 2015-12-21 16:42:07 -05:00
Makefile drm/amdgpu: clean up path handling for powerplay 2016-03-21 11:52:13 -04:00