* [PATCH 4/5] mvsas: correct bit map usage
@ 2009-05-11 17:24 Andy Yan
2009-05-14 4:37 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Andy Yan @ 2009-05-11 17:24 UTC (permalink / raw)
To: linux-scsi; +Cc: james.bottomley, jeff
>From dc94fa636af60eaebc9aaeb80c1b78b52edeea57 Mon Sep 17 00:00:00 2001
From: Andy Yan <ayan@marvell.com>
Date: Mon, 11 May 2009 21:56:31 +0800
Subject: [PATCH 4/5] mvsas: correct bit map usage
Utilize DECLARE_BITMAP to define the tags array.
Signed-off-by: Ying Chu <jasonchu@marvell.com>
Signed-off-by: Andy Yan <ayan@marvell.com>
Signed-off-by: Ke Wei <kewei@marvell.com>
---
drivers/scsi/mvsas/mv_sas.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h
index 75b9748..93735ed 100644
--- a/drivers/scsi/mvsas/mv_sas.h
+++ b/drivers/scsi/mvsas/mv_sas.h
@@ -313,8 +313,7 @@ struct mvs_info {
const struct mvs_chip_info *chip;
int tags_num;
- u8 tags[MVS_SLOTS >> 3];
-
+ DECLARE_BITMAP(tags, MVS_SLOTS);
/* further per-slot information */
struct mvs_phy phy[MVS_MAX_PHYS];
struct mvs_port port[MVS_MAX_PHYS];
--
1.6.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/5] mvsas: correct bit map usage
2009-05-11 17:24 [PATCH 4/5] mvsas: correct bit map usage Andy Yan
@ 2009-05-14 4:37 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2009-05-14 4:37 UTC (permalink / raw)
To: ayan; +Cc: linux-scsi, james.bottomley
Andy Yan wrote:
>>From dc94fa636af60eaebc9aaeb80c1b78b52edeea57 Mon Sep 17 00:00:00 2001
> From: Andy Yan <ayan@marvell.com>
> Date: Mon, 11 May 2009 21:56:31 +0800
> Subject: [PATCH 4/5] mvsas: correct bit map usage
>
> Utilize DECLARE_BITMAP to define the tags array.
>
> Signed-off-by: Ying Chu <jasonchu@marvell.com>
> Signed-off-by: Andy Yan <ayan@marvell.com>
> Signed-off-by: Ke Wei <kewei@marvell.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-14 4:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 17:24 [PATCH 4/5] mvsas: correct bit map usage Andy Yan
2009-05-14 4:37 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.