summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2019-02-15 04:46:17 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2020-02-24 03:54:46 -0500
commitaaecfae53f60715e52a9e29a956d0246f4f0bafa (patch)
tree9c1fc3855c363bea87a8ad8f299039b9660b8930 /drivers/gpu/nvgpu/include
parentea14973b149930669a8fe2aa37cdfad41759001d (diff)
gpu: nvgpu: add checks for kzalloc() allocations
Check kzalloc() allocations for failures and return an error if an allocation fails. Bug 2279948 Change-Id: I8a2c3b84904da897ad6118900c11489c8656c20f Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2020123 (cherry picked from commit fadd0014da39cb9498472494e52590db4b0bd7b9) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2298066 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
0 files changed, 0 insertions, 0 deletions