[PATCH] sbp2: make 1bit bitfield unsigned

From: Luca Tettamanti
Date: Wed Nov 15 2006 - 13:14:37 EST


A signed single-bit bitfield doesn't make much sense. Make it unsigned.

Signed-Off-By: Luca Tettamanti <kronos.it@xxxxxxxxx>

---

drivers/ieee1394/sbp2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ieee1394/sbp2.h b/drivers/ieee1394/sbp2.h
index abbe48e..cf416c5 100644
--- a/drivers/ieee1394/sbp2.h
+++ b/drivers/ieee1394/sbp2.h
@@ -322,7 +322,7 @@ struct scsi_id_instance_data {
/*
* Waitqueue flag for logins, reconnects, logouts, query logins
*/
- int access_complete:1;
+ unsigned int access_complete:1;

/*
* Pool of command orbs, so we can have more than overlapped command per id


Luca
--
Quando un uomo porta dei fiori a sua moglie senza motivo,
un motivo c'e`.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/