diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2014-09-21 21:24:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:33:34 -0700 |
commit | 24fc2d01dbd569554373818b72e6d26c86290763 (patch) | |
tree | 7f2f2b9b7114ef67ea37f9bd1ec719899a3e83ba /drivers/staging | |
parent | d870f87dec6d01d1c323d0560885d49a58143efa (diff) |
Staging: unisys: channels: Missing a blank line after declarations
This patch fixes these warning messages found by checkpatch.pl:
WARNING : Missing a blank line after declarations.
Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/unisys/channels/chanstub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/unisys/channels/chanstub.c b/drivers/staging/unisys/channels/chanstub.c index 7f36d9adac55..20521ce0136d 100644 --- a/drivers/staging/unisys/channels/chanstub.c +++ b/drivers/staging/unisys/channels/chanstub.c @@ -47,6 +47,7 @@ SignalInsert_withLock(CHANNEL_HEADER __iomem *pChannel, u32 Queue, { unsigned char result; unsigned long flags; + spin_lock_irqsave(lock, flags); result = visor_signal_insert(pChannel, Queue, pSignal); spin_unlock_irqrestore(lock, flags); @@ -58,6 +59,7 @@ SignalRemove_withLock(CHANNEL_HEADER __iomem *pChannel, u32 Queue, void *pSignal, spinlock_t *lock) { unsigned char result; + spin_lock(lock); result = visor_signal_remove(pChannel, Queue, pSignal); spin_unlock(lock); |