commit | dbf56ab11a09550c00edb84fc4b2197350154e99 | [log] [tgz] |
---|---|---|
author | Kent Russell <kent.russell@amd.com> | Tue Aug 15 23:00:08 2017 -0400 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Tue Aug 15 23:00:08 2017 -0400 |
tree | 67342d776471888f326568b990c2e70b34d5874d | |
parent | ab7c16486707f86264c73b043327c70866236722 [diff] |
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>