misc:cryptodev: fix null_check coverity issue
authorShravani Dingari <shravanid@nvidia.com>
Fri, 15 May 2015 06:22:46 +0000 (11:22 +0530)
committerSachin Nikam <snikam@nvidia.com>
Tue, 19 May 2015 10:47:13 +0000 (03:47 -0700)
commit2cdf911b68bb17ff4f111a93977a742c27b2ac75
tree80c5f928835d4e92c0661761e39852ffbb63f0ae
parent8ce38c4f6350f6e125290817718e3eb431432e67
misc:cryptodev: fix null_check coverity issue

Fix coverity issue of not returning when null_check
shows the memory allocated is NULL
Coverity id : 30087

Bug 1416640

Change-Id: Idfaa2968de6e4e4719bf0cc089267177a0a4f588
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/743120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/misc/tegra-cryptodev.c