projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844bdf1
)
sparc32: Fix old style declaration GCC warnings
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 21 Oct 2016 13:39:03 +0000
(15:39 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 Oct 2016 18:04:18 +0000
(11:04 -0700)
Fix [-Wold-style-declaration] GCC warnings by moving the inline keyword
before the return type.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/spinlock_32.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/spinlock_32.h
b/arch/sparc/include/asm/spinlock_32.h
index d9c5876c61215494df0238992da09c03f5d82211..8011e79f59c96f3658e430765e6aa56caa400098 100644
(file)
--- a/
arch/sparc/include/asm/spinlock_32.h
+++ b/
arch/sparc/include/asm/spinlock_32.h
@@
-134,7
+134,7
@@
static inline void arch_write_lock(arch_rwlock_t *rw)
*(volatile __u32 *)&lp->lock = ~0U;
}
-static
void inline
arch_write_unlock(arch_rwlock_t *lock)
+static
inline void
arch_write_unlock(arch_rwlock_t *lock)
{
__asm__ __volatile__(
" st %%g0, [%0]"