[FOSS_TLK]kernel: ote: Coverity fixes
authorAaron Gamble <jgamble@nvidia.com>
Tue, 3 Feb 2015 19:09:39 +0000 (11:09 -0800)
committerDennis Huang <denhuang@nvidia.com>
Tue, 16 Jun 2015 20:58:51 +0000 (13:58 -0700)
commitbfd57c553624cc90a80f939f724df0cb56a4a893
tree59d48d7dbeddac986d11f4ff9c8e42d0a6a3508d
parent966c63f69c7726304832ed174462a0f576d76b9e
[FOSS_TLK]kernel: ote: Coverity fixes

Fix NULL dereference when out of memory
Coverity id : 28174

Fix NULL dereference when passed bad parameters to te_copyin_ta_params
Coverity id : 28087

Change-Id: I1cef0039828715b7df256def704261d0b974a5b1
Reviewed-on: http://git-master/r/715778
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
kernel/ote_intf.c