The code depends on the order of evaluation 'z_x86_check_stack_bounds' function arguments. The solution is to assign these values to variables and then pass them in. The fix would be to make 2 local variables, assign them the values of _df_esf.esp and .cs, and then call the function with those 2 local variables as arguments. Found as a coding guideline violation (MISRA R13.2) by static coding scanning tool. Change "int reason" to "unsigned reason" like in other functions. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com> |
||
|---|---|---|
| .. | ||
| core | ||
| include | ||
| zefi | ||
| CMakeLists.txt | ||
| gen_gdt.py | ||
| gen_idt.py | ||
| gen_mmu.py | ||
| ia32.cmake | ||
| intel64.cmake | ||
| Kconfig | ||
| timing.c | ||