drm/amdkfd: Fix a && vs || typo
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 7 Oct 2019 08:52:10 +0000 (11:52 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:11:02 +0000 (15:11 -0500)
commitaa5e899de1dd8d91f4881d0bf533e2302f925973
treecd694e6d7afe60987715710fb34440cdea9ef00c
parentea6d8811f18521a2188d1959f5fa2447e6bf5349
drm/amdkfd: Fix a && vs || typo

In the current code if "device_info" is ever NULL then the kernel will
Oops so probably || was intended instead of &&.

Fixes: e392c887df97 ("drm/amdkfd: Use array to probe kfd2kgd_calls")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c