]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sched: Fix passing zero to 'PTR_ERR' warning v2
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 29 Oct 2019 15:03:05 +0000 (11:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:47 +0000 (16:27 -0500)
commit5b96c2fb5491fa1e769fbfae1711e650ba490594
treedee5feab0c1a0dcdcbe69bdcb4aebb69ac2c834e
parent69d4df1f5a208537fc6249f7221e3f6bf949f9b8
drm/sched:  Fix passing zero to 'PTR_ERR' warning v2

Fix a static code checker warning.

v2: Drop PTR_ERR_OR_ZERO.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/sched_main.c