Re: [PATCH 0/7] Use spinlock_t instead of struct spinlock

2019-07-04 Thread 'Sebastian Andrzej Siewior'
On 2019-07-04 15:39:41 [+], David Laight wrote: > I thought it was policy to avoid typedefs? > Probably because you can only define them once. We don't have many of them but we have them and should stick to them. |$ git grep -A4 "spinlock de" scripts/ |scripts/checkpatch.pl:# check for struct

RE: [PATCH 0/7] Use spinlock_t instead of struct spinlock

2019-07-04 Thread David Laight
From: Sebastian Andrzej Siewior > Sent: 04 July 2019 16:38 > > Just a small series to clean up various "struct spinlock" user and make > them use "spinlock_t" instead. I thought it was policy to avoid typedefs? Probably because you can only define them once. David - Registered Address

[PATCH 0/7] Use spinlock_t instead of struct spinlock

2019-07-04 Thread Sebastian Andrzej Siewior
Just a small series to clean up various "struct spinlock" user and make them use "spinlock_t" instead. Sebastian