John Zhao has uploaded a new patch set (#2) to the change originally created by John Zhao. ( https://review.coreboot.org/c/coreboot/+/34249 )
Change subject: cpu/x86: Initialize the argument value msr_index ......................................................................
cpu/x86: Initialize the argument value msr_index
Clang Static Analyzer version 8.0.0 treats the uninitialized argument value msr_index as logic error in a function call. Just set msr_index with 0 initially.
Change-Id: I051b290998207a1129ada06bb455f44c2d291975 Signed-off-by: John Zhao john.zhao@intel.com --- M src/cpu/x86/mtrr/mtrr.c 1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/34249/2