fix:修复拼写错误
Signed-off-by: x_xiny <1301913191@qq.com> Change-Id: I1cc4897e5d37dd98696221f0cc70220cef45e7d4
This commit is contained in:
@@ -87,7 +87,7 @@ STATIC INLINE CHAR *OsLockDepErrorStringGet(enum LockDepErrType type)
|
||||
errorString = "lockdep overflow";
|
||||
break;
|
||||
default:
|
||||
errorString = "unknow error code";
|
||||
errorString = "unknown error code";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@ VOID OsLockDepCheckOut(SPIN_LOCK_S *lock)
|
||||
/* record lock holding time */
|
||||
heldlocks[depth].holdTime = OsLockDepGetCycles() - heldlocks[depth].holdTime;
|
||||
|
||||
/* if unlock a older lock, needs move heldLock records */
|
||||
/* if unlock an older lock, needs move heldLock records */
|
||||
while (depth < lockDep->lockDepth - 1) {
|
||||
lockDep->heldLocks[depth] = lockDep->heldLocks[depth + 1];
|
||||
depth++;
|
||||
|
||||
Reference in New Issue
Block a user