commit | 258161b358322dcd607a418c8477c63455ea6a3c | [log] [tgz] |
---|---|---|
author | V-Sanjana <sanjana.v@intel.com> | Wed Jan 18 20:56:30 2023 +0530 |
committer | Jason Bills <jason.m.bills@linux.intel.com> | Wed Jan 18 16:49:04 2023 +0000 |
tree | b9534af8ff9e20fb12640412cdf0265a2f4693a0 | |
parent | a89be7669d31507388610d5300f7f442cf945f01 [diff] |
Add the missing break in switch case Break statement is added for the case PECI_WAIT_FOREVER Tested: build was successful. Change-Id: Id71b4c3c9bb1cea1329f622fc5acb26d755f5f85 Signed-off-by: V-Sanjana <sanjana.v@intel.com>
diff --git a/peci.c b/peci.c index 0d6a47a..5b6346b 100644 --- a/peci.c +++ b/peci.c
@@ -116,6 +116,7 @@ nanosleep(&sRequest, NULL); *peci_fd = open(peci_device, O_RDWR | O_CLOEXEC); } + break; default: while (-1 == *peci_fd && timeout_count < timeout_ms) {