summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2018-01-19 03:39:55 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2018-01-19 03:39:55 +0300
commit3f866f5f04d3645970662409d2bdff3dca58b1a3 (patch)
tree24d9913276b39e680517a8e82762d83470e18302 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent4518cd28d81fa4d2872268e4f8f7b35f387642cc (diff)
downloadlinux-3f866f5f04d3645970662409d2bdff3dca58b1a3.tar.xz
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 <garsilva@embeddedor.com> Reviewed-by: Felix Kuehling<Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions