summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gm20b
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-08-05 19:47:17 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-08-30 13:04:31 -0400
commit9e43258438a48eb23c6e65ad91ce88518d6a617a (patch)
treecbfcf7089ca51044c4b186f5b6995af3f51fafdf /drivers/gpu/nvgpu/vgpu/gm20b
parent9eac0fd84921359ded2acdf920de5592322ad93c (diff)
gpu: nvgpu: Add checking in allocator functions
Add checks to make sure function pointers are valid before attempting to call said function. Also, ensure that any allocator created defines the following 3 functions at minimum: alloc() free() fini() Bug 1799159 Change-Id: I4cd3d5746ccb721c723a161c9487564846027572 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1200059 (cherry picked from commit e26557a49d7ca6629ada24f12a3be396b0ae22cd) Reviewed-on: http://git-master/r/1208476 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gm20b')
0 files changed, 0 insertions, 0 deletions