aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-07 23:17:51 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-01-26 10:25:19 -0800
commitf0e49dc3f9bca8c3e73729cfc88dff13bcc9bd11 (patch)
tree157aa00977ee599a10b0d517fb0712f4da4f81ac /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentixgbevf: use ARRAY_SIZE for various array sizing calculations (diff)
downloadwireguard-linux-f0e49dc3f9bca8c3e73729cfc88dff13bcc9bd11.tar.xz
wireguard-linux-f0e49dc3f9bca8c3e73729cfc88dff13bcc9bd11.zip
ixgbe: use ARRAY_SIZE for array sizing calculation on array buf
Use the ARRAY_SIZE macro on array buf to determine size of the array. Improvement suggested by coccinelle. Signed-off-by: Colin Ian King <colin.king@canonical.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions