diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-03-08 20:00:02 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-22 21:37:05 -0400 |
commit | 14188ba419b980b74d964ee7d2de5fc3dd9f9a90 (patch) | |
tree | a4739fd179d3ddba0299568362f6b3f36b6c090e /drivers/gpu/nvgpu/gk20a/fence_gk20a.h | |
parent | a0a081d0654ac4a2e888aa49ed5fc8840768c107 (diff) |
gpu: nvgpu: Use new kmem API functions (pci.c)
Really just delete the usage of kasprintf() since that must be
paired with a kfree(). Since the kasprintf() doesn't use the
nvgpu kmem machinery (and is Linux specific) instead use a small
buffer statically allocated on the stack.
Bug 1799159
Bug 1823380
Change-Id: Ic26f39da401df926024c67e8ff5d979f683a6d3e
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1318311
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.h')
0 files changed, 0 insertions, 0 deletions