video: tegra: host: fix Coverity issues
authorDeepak Nibade <dnibade@nvidia.com>
Tue, 3 Dec 2013 12:26:18 +0000 (17:26 +0530)
committerSachin Nikam <snikam@nvidia.com>
Thu, 5 Dec 2013 06:02:32 +0000 (22:02 -0800)
commit300f64f8fd6367b96b0a41dfef3ac3137bc5ea04
tree1ca0bffbbe8bdb9c868946bfbfab24ff8c946805
parent081a00ad47692e10426086dfe7fcbaf56bf0d45b
video: tegra: host: fix Coverity issues

- fix unchecked return value from sscanf
Coverity id : 25029
- fix explicit NULL dereference of pdata
Coverity id : 25086

Bug 1416640

Change-Id: I56749f9e15d70b9bffaa85435a6d39a301413cab
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/337790
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/vic03/vic03.c