aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2006-10-01 02:28:10 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:24 -0400
commit6e9a4738c9fadb7cbdcabc1e3b415159f3741ed9 (patch)
tree0e470bb8cd431d59698da5a6999ff35a347619a3 /drivers/scsi/qla1280.c
parent397d6140e93156ecb9cafcd9be0db10ff3c12ab3 (diff)
[PATCH] completions: lockdep annotate on stack completions
All on stack DECLARE_COMPLETIONs should be replaced by: DECLARE_COMPLETION_ONSTACK Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Ingo Molnar <mingo@elte.hu> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r--drivers/scsi/qla1280.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 8953991462d7..332151e2a018 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -813,7 +813,7 @@ qla1280_error_action(struct scsi_cmnd *cmd, enum action action)
813 uint16_t data; 813 uint16_t data;
814 unsigned char *handle; 814 unsigned char *handle;
815 int result, i; 815 int result, i;
816 DECLARE_COMPLETION(wait); 816 DECLARE_COMPLETION_ONSTACK(wait);
817 struct timer_list timer; 817 struct timer_list timer;
818 818
819 ha = (struct scsi_qla_host *)(CMD_HOST(cmd)->hostdata); 819 ha = (struct scsi_qla_host *)(CMD_HOST(cmd)->hostdata);
@@ -2406,7 +2406,7 @@ qla1280_mailbox_command(struct scsi_qla_host *ha, uint8_t mr, uint16_t *mb)
2406 uint16_t *optr, *iptr; 2406 uint16_t *optr, *iptr;
2407 uint16_t __iomem *mptr; 2407 uint16_t __iomem *mptr;
2408 uint16_t data; 2408 uint16_t data;
2409 DECLARE_COMPLETION(wait); 2409 DECLARE_COMPLETION_ONSTACK(wait);
2410 struct timer_list timer; 2410 struct timer_list timer;
2411 2411
2412 ENTER("qla1280_mailbox_command"); 2412 ENTER("qla1280_mailbox_command");