Re: [PATCH 4/7] staging: most: Use spinlock_t instead of struct spinlock

From: Greg Kroah-Hartman
Date: Sat Jul 06 2019 - 06:03:25 EST

On Thu, Jul 04, 2019 at 05:38:00PM +0200, Sebastian Andrzej Siewior wrote:
> For spinlocks the type spinlock_t should be used instead of "struct
> spinlock".


> Use spinlock_t for spinlock's definition.

Why? I agree it makes the code smaller, but why is this required?


greg k-h