提交 78ca4fe3 编写于 作者: H Heiko Carstens

s390/spinlock: fix indentation

checkpatch:
    WARNING: Statements should start on a tabstop
    #9499: FILE: arch/s390/lib/spinlock.c:231:
    +                          return;

sparse:
arch/s390/lib/spinlock.c:81 arch_load_niai4()
    warn: inconsistent indenting
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
上级 3c6153e8
...@@ -226,9 +226,10 @@ static inline void arch_spin_lock_classic(arch_spinlock_t *lp) ...@@ -226,9 +226,10 @@ static inline void arch_spin_lock_classic(arch_spinlock_t *lp)
/* Try to get the lock if it is free. */ /* Try to get the lock if it is free. */
if (!owner) { if (!owner) {
new = (old & _Q_TAIL_MASK) | lockval; new = (old & _Q_TAIL_MASK) | lockval;
if (arch_cmpxchg_niai8(&lp->lock, old, new)) if (arch_cmpxchg_niai8(&lp->lock, old, new)) {
/* Got the lock */ /* Got the lock */
return; return;
}
continue; continue;
} }
if (count-- >= 0) if (count-- >= 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册