diff options
author | Markus Elfring <[email protected]> | 2017-05-09 17:51:30 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2017-05-10 14:39:34 -0700 |
commit | c3f6f8612bdab5959950a58291bd61d1d42d996b (patch) | |
tree | 05312fe544d46f3b9edc25b12088e967b1f4de8e /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
parent | 63c9576544718a949460865588981b70bb717020 (diff) |
Input: switch to using sizeof(*type) when allocating memory
Instead of specifying type explicitly, derive it from the type of pointer
when allocating memory, which is considered safer practice.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions