diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-01-19 03:39:55 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-01-19 03:39:55 +0300 |
commit | 3f866f5f04d3645970662409d2bdff3dca58b1a3 (patch) | |
tree | 24d9913276b39e680517a8e82762d83470e18302 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4518cd28d81fa4d2872268e4f8f7b35f387642cc (diff) | |
download | linux-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