]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: precedence bug in amdgpu_device_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 18 Jun 2016 08:38:44 +0000 (11:38 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Jun 2016 21:06:10 +0000 (17:06 -0400)
commit000c8d5fc6c3c2ede05815f4e6688143b883fd3d
tree2568cab2d0ea1c9374550669c9f78622bee65127
parent9b7b5291b4c9a166d7fca2fc5f9928f8553c8e78
drm/amdgpu: precedence bug in amdgpu_device_init()

! has higher precedence than bitwise & so we need to add parenthesis
for this to work as intended.

Fixes: 252f2fcf2112 ('amdgpu: fix asic initialization for virtualized environments (v2)')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c