[PATCH] sbp2: make 1bit bitfield unsigned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-Off-By: Luca Tettamanti <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux