[FOSS_TLK]kernel: boot: Fix coverity hits
authorAaron Gamble <jgamble@nvidia.com>
Tue, 3 Feb 2015 19:17:43 +0000 (11:17 -0800)
committerDennis Huang <denhuang@nvidia.com>
Tue, 16 Jun 2015 20:59:01 +0000 (13:59 -0700)
commit046b8e70c7c5053e98106794942fd62b552c5415
tree42028e55146844163f9bdd126730bd6657fa17ee
parentbfd57c553624cc90a80f939f724df0cb56a4a893
[FOSS_TLK]kernel: boot: Fix coverity hits

Prevent strlen(NULL)
Coverity id : 28173

Correct boot_params_ptr->param_string check
Coverity id : 28121

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