Sfoglia il codice sorgente

sbp2: make 1bit bitfield unsigned

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

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Luca Tettamanti 18 anni fa
parent
commit
ff6a4cd2e1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/ieee1394/sbp2.h

+ 1 - 1
drivers/ieee1394/sbp2.h

@@ -302,7 +302,7 @@ struct sbp2_lu {
 	u64 status_fifo_addr;
 
 	/* Waitqueue flag for logins, reconnects, logouts, query logins */
-	int access_complete:1;
+	unsigned int access_complete:1;
 
 	/* Pool of command ORBs for this logical unit */
 	spinlock_t cmd_orb_lock;