projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127ce97
)
[SCSI] aacraid: Fix down_interruptible() to check the return value correctly
author
Mark Salyzyn
<
[email protected]
>
Wed, 23 Apr 2008 12:16:06 +0000
(08:16 -0400)
committer
James Bottomley
<
[email protected]
>
Fri, 2 May 2008 15:16:28 +0000
(10:16 -0500)
On Apr 21, 2008, at 8:42 PM, Yinghai Lu wrote:
> bisected to:
>
> commit
e6990c6448ca9359b6d4ad027c0a6efbf4379e64
> Author: Mark Salyzyn <
[email protected]
>
> Date: Mon Apr 14 14:20:16 2008 -0400
>
> [SCSI] aacraid: Fix down_interruptible() to check the return value
The return value for down_interruptible was incorrectly checked!
updated patch enclosed.
Signed-off-by: Mark Salyzyn <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/scsi/aacraid/commsup.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/aacraid/commsup.c
b/drivers/scsi/aacraid/commsup.c
index ef67816a6fe5940211247e96e1299343e3f4a298..e7a4c6f202d1669a1a3b5eb14d3f26b0a6a32ae0 100644
(file)
--- a/
drivers/scsi/aacraid/commsup.c
+++ b/
drivers/scsi/aacraid/commsup.c
@@
-515,7
+515,7
@@
int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size,
}
udelay(5);
}
- } else if (down_interruptible(&fibptr->event_wait)
== 0
) {
+ } else if (down_interruptible(&fibptr->event_wait)) {
fibptr->done = 2;
up(&fibptr->event_wait);
}