[PATCH] usb: digi_accelport.c trivial sparse lock annotation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <gregkh@...>
Cc: LKML <linux-kernel@...>, Al Viro <viro@...>
Date: Friday, May 30, 2008 - 1:18 pm

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 drivers/usb/serial/digi_acceleport.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c
index 04a56f3..d8209e9 100644
--- a/drivers/usb/serial/digi_acceleport.c
+++ b/drivers/usb/serial/digi_acceleport.c
@@ -573,6 +573,7 @@ static struct usb_serial_driver digi_acceleport_4_device = {
 static long cond_wait_interruptible_timeout_irqrestore(
 	wait_queue_head_t *q, long timeout,
 	spinlock_t *lock, unsigned long flags)
+__releases(lock)
 {
 	DEFINE_WAIT(wait);
 
-- 
1.5.6.rc0.277.g804cf



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] usb: digi_accelport.c trivial sparse lock annotation, Harvey Harrison, (Fri May 30, 1:18 pm)