misc: tegra-cryptodev: Fix error check for return value
authorShravani Dingari <shravanid@nvidia.com>
Mon, 26 Nov 2012 05:56:07 +0000 (10:56 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 30 Nov 2012 00:26:22 +0000 (16:26 -0800)
commit425ef407628b3f6e242fa80d983773bec544547c
tree4ee7945465eb3b6456e6ff220099cacdcf6a4649
parent5cbf3424eeb86303c9958f5afdb1bf31b875c317
misc: tegra-cryptodev: Fix error check for return value

Fixes error check for copy_to_user and copy_from_user
return values

Change-Id: I2ad2aa7a66c4cf3409fe95e5f0f80b28da9ef853
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/166073
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/misc/tegra-cryptodev.c