diff options
author | John Zhao <john.zhao@intel.com> | 2021-04-21 10:13:17 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-23 14:45:46 +0000 |
commit | 457c661f62b7614b6652e1ee1b67ad7596da4b17 (patch) | |
tree | 78eacbeac68d0707a4752143633cd33a6bb8114d /src/commonlib | |
parent | 8122b3f6123158024ed2844af17289a9abb98036 (diff) |
cpu/x86: Fix control flow UNREACHABLE issue
Coverity detects the control flow UNREACHABLE issue for the printk
usage. This change adds rc to keep the smm_module_setup_stub function
call and returns rc after printk usage.
Found-by: Coverity CID 1452602
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ie3b90a8197c3b84c5a1dbca8a9ef566bef35c9ab
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52574
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
0 files changed, 0 insertions, 0 deletions