aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-01-19 00:39:55 +0000
committerOded Gabbay <[email protected]>2018-01-19 00:39:55 +0000
commit3f866f5f04d3645970662409d2bdff3dca58b1a3 (patch)
tree24d9913276b39e680517a8e82762d83470e18302 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentdma-fence: add comment for WARN_ON in dma_fence_release() (diff)
downloadkernel-3f866f5f04d3645970662409d2bdff3dca58b1a3.tar.gz
kernel-3f866f5f04d3645970662409d2bdff3dca58b1a3.zip
drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Felix Kuehling<[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions