diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-09-23 11:35:02 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:25 -0400 |
commit | e7f8e1bffb48eb650860d3aee326c77d31cc0860 (patch) | |
tree | 0e5bfe44daeac989d12b2fa00e2c88a18335691a /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |
parent | d65f23cb9ad9d270560ec00c775e60ab559e8e93 (diff) |
gpu: nvgpu: fix fence creation error check
nvhost_sync_create_fence returns ERR_PTRs instead of NULLs on error;
check for its errors with IS_ERR.
Change-Id: I9752e0d8fa703b2872918b23721ae973be58bf35
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/533794
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
0 files changed, 0 insertions, 0 deletions