diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-15 06:30:24 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-01-18 03:35:57 -0500 |
commit | f8d48ae52eeec906d7fb42485eb26a5d305bab0a (patch) | |
tree | 4de9fc43d78b02bb6569860c887f81af763f9308 | |
parent | cd931ee62fd0258fc85c76a7c5499fe85e0f3436 (diff) |
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>
-rw-r--r-- | drivers/target/iscsi/iscsi_target_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/iscsi/iscsi_target_core.h b/drivers/target/iscsi/iscsi_target_core.h index f1a02dad05a0..ebf81fdbb5c5 100644 --- a/drivers/target/iscsi/iscsi_target_core.h +++ b/drivers/target/iscsi/iscsi_target_core.h | |||
@@ -561,8 +561,8 @@ struct iscsi_conn { | |||
561 | struct hash_desc conn_tx_hash; | 561 | struct hash_desc conn_tx_hash; |
562 | /* Used for scheduling TX and RX connection kthreads */ | 562 | /* Used for scheduling TX and RX connection kthreads */ |
563 | cpumask_var_t conn_cpumask; | 563 | cpumask_var_t conn_cpumask; |
564 | int conn_rx_reset_cpumask:1; | 564 | unsigned int conn_rx_reset_cpumask:1; |
565 | int conn_tx_reset_cpumask:1; | 565 | unsigned int conn_tx_reset_cpumask:1; |
566 | /* list_head of struct iscsi_cmd for this connection */ | 566 | /* list_head of struct iscsi_cmd for this connection */ |
567 | struct list_head conn_cmd_list; | 567 | struct list_head conn_cmd_list; |
568 | struct list_head immed_queue_list; | 568 | struct list_head immed_queue_list; |