]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iscsi-target: make one-bit bitfields unsigned
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 15 Jan 2012 11:30:24 +0000 (14:30 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 18 Jan 2012 08:35:57 +0000 (08:35 +0000)
commitf8d48ae52eeec906d7fb42485eb26a5d305bab0a
tree4de9fc43d78b02bb6569860c887f81af763f9308
parentcd931ee62fd0258fc85c76a7c5499fe85e0f3436
iscsi-target: make one-bit bitfields unsigned

Signed bitfields are a problem because instead of being 1 or 0 like
you'd expect they are 0 and -1.  It doesn't cause a problem in this case
but sparse complains:

drivers/target/iscsi/iscsi_target_core.h:564:56: error: dubious one-bit
signed bitfield

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_core.h