diff options
author | Bart Van Assche <bvanassche@acm.org> | 2011-11-08 14:46:29 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-06 01:00:50 -0500 |
commit | 5f655e8d2a7cdc41943f929e86054051d7441ec5 (patch) | |
tree | 1386eb5a5e2585ed4aff57a04c15ca341524dc7f /include/target | |
parent | 330694a50f5b80e983136237c10516810fb427a9 (diff) |
target: Avoid compiler warnings about signed one-bit bitfields
Convert to unsigned bit fields for active I/O shutdown fields.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 4d0cb6b8c478..36a06f79c973 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -423,8 +423,8 @@ struct se_cmd { | |||
423 | /* Transport protocol dependent state, see transport_state_table */ | 423 | /* Transport protocol dependent state, see transport_state_table */ |
424 | enum transport_state_table t_state; | 424 | enum transport_state_table t_state; |
425 | /* Used to signal cmd->se_tfo->check_release_cmd() usage per cmd */ | 425 | /* Used to signal cmd->se_tfo->check_release_cmd() usage per cmd */ |
426 | int check_release:1; | 426 | unsigned check_release:1; |
427 | int cmd_wait_set:1; | 427 | unsigned cmd_wait_set:1; |
428 | /* See se_cmd_flags_table */ | 428 | /* See se_cmd_flags_table */ |
429 | u32 se_cmd_flags; | 429 | u32 se_cmd_flags; |
430 | u32 se_ordered_id; | 430 | u32 se_ordered_id; |
@@ -560,7 +560,7 @@ struct se_node_acl { | |||
560 | } ____cacheline_aligned; | 560 | } ____cacheline_aligned; |
561 | 561 | ||
562 | struct se_session { | 562 | struct se_session { |
563 | int sess_tearing_down:1; | 563 | unsigned sess_tearing_down:1; |
564 | u64 sess_bin_isid; | 564 | u64 sess_bin_isid; |
565 | struct se_node_acl *se_node_acl; | 565 | struct se_node_acl *se_node_acl; |
566 | struct se_portal_group *se_tpg; | 566 | struct se_portal_group *se_tpg; |