summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-12-20 17:01:47 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-04 04:44:23 -0500
commit61cb249f093ccdde639380fce33eeaa58d3c5a7a (patch)
tree2807ccb245074b456e1528d8d0ed899dfb24b8b7 /include/uapi
parent48a643c5e0299415b73f870716f13422a7f6b454 (diff)
gpu: nvgpu: Fix NULL check for boardobj allocation
When we allocate boardobj object, we assign the allocated address to *ppboardobj. The check for result of allocation checks looks at address in ppboardobj. Fix the check so that it actually checks results of kzalloc(). Change-Id: I90fda36afd1627efcf2fdea46bcd7ad1a7e3bb51 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1275738 GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions