Fix the violations not touched the logical. 1.Function return value not checked. 2.Logical conjuctions need brackets. 3.No brackets to then/else. 4.Type conversion without cast. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
move stack_protector.c/retpoline-thunk.S into lib folder move vmptable.c into arch/x86/config Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile renamed: arch/x86/retpoline-thunk.S -> arch/x86/lib/retpoline-thunk.S renamed: common/stack_protector.c -> lib/stack_protector.c renamed: dm/vmptable.c -> arch/x86/configs/vmptable.c