diff options
author | Kent Russell <kent.russell@amd.com> | 2017-08-16 06:00:08 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-08-16 06:00:08 +0300 |
commit | dbf56ab11a09550c00edb84fc4b2197350154e99 (patch) | |
tree | 67342d776471888f326568b990c2e70b34d5874d /drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | |
parent | ab7c16486707f86264c73b043327c70866236722 (diff) | |
download | linux-dbf56ab11a09550c00edb84fc4b2197350154e99.tar.xz |
drm/amdkfd: Remove usage of alloc(sizeof(struct...
See https://kernel.org/doc/html/latest/process/coding-style.html
under "14) Allocating Memory" for rationale behind removing the
x=alloc(sizeof(struct) style and using x=alloc(sizeof(*x) instead
Signed-off-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c')
0 files changed, 0 insertions, 0 deletions