[WCNCR00166525] misc: fix coverity issues

[Description]
Fix CID
4077565 Bad bit shift operation
4077563 Dereference after null check
4077558 Unintended sign extension
4077551 Unintentional integer overflow

Change-Id: Ie67310b18c3f0e6993c608ada4a3d3e9f0e93d43
CR-Id: WCNCR00166525
Feature: misc
Signed-off-by: guo-jie.wang <guo-jie.wang@mediatek.com>
Reviewed-on: http://gerrit.mediatek.inc:8080/1228348
CheckPatch: Check Patch <srv_checkpatch@mediatek.com>
Reviewed-by: George Kuo <george.kuo@mediatek.com>
Reviewed-by: Wayne Guo <wayne.guo@mediatek.com>
Reviewed-by: Saker Hsia <saker.hsia@mediatek.com>
Build: srv_neptune_adm <srv_neptune_adm@mediatek.com>
Reviewed-by: Sarick Jiang <sarick.jiang@mediatek.com>
1 file changed