summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-11-10 03:03:54 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:10 -0400
commitce32b25751c704050f4992c8e33b015c909fc808 (patch)
tree1250128861f5bdf07a22915375fbaef3102cf31b /drivers/gpu/nvgpu/gk20a/fence_gk20a.c
parentff1b2fc1e84fbac147e144d3c8d80104b7eca5e9 (diff)
gpu: nvgpu: Add NULL pointer check to debug code
nvgpu exposes debug dump functionality. Currently this function misses NULL pointer checks and therefore in cases where the driver is compiled but the device is disabled, the driver crashes kernel. This patch adds the missing NULL pointer check. Change-Id: I32acb5cad62b2a29603d6439a5c7e45e016235dd Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/599370 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mohan Nimaje <mnimaje@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
0 files changed, 0 insertions, 0 deletions