]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sbp2: make 1bit bitfield unsigned
authorLuca Tettamanti <kronos.it@gmail.com>
Wed, 15 Nov 2006 18:14:15 +0000 (19:14 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 22:05:47 +0000 (23:05 +0100)
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>
drivers/ieee1394/sbp2.h

index 38ca1195e8ee22c833cba3c8e13ad82e019ff194..ef24d630a577b34a50342cdb7b2f01877afd6546 100644 (file)
@@ -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;