The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] sbp2: make 1bit bitfield unsigned
@ 2006-11-15 18:14 Luca Tettamanti
  2006-11-15 19:18 ` Stefan Richter
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Tettamanti @ 2006-11-15 18:14 UTC (permalink / raw)
  To: Ben Collins, Stefan Richter; +Cc: linux1394-devel, linux-kernel

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

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

---

 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`.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-15 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 18:14 [PATCH] sbp2: make 1bit bitfield unsigned Luca Tettamanti
2006-11-15 19:18 ` Stefan Richter
2006-11-15 23:04   ` Mariusz Kozlowski
2006-11-15 23:09     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox