From 24fc2d01dbd569554373818b72e6d26c86290763 Mon Sep 17 00:00:00 2001 From: Aybuke Ozdemir Date: Sun, 21 Sep 2014 21:24:00 +0300 Subject: [PATCH] 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 Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/channels/chanstub.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5