bugs: fix klockwork scan issues

Signed-off-by: Wind Yuan <feng.yuan@intel.com>
14 files changed