[PATCH] Fix parameter of system_state_name()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



target.c: In function âsystem_state_nameâ:
target.c:1997:29: warning: comparison between âenum tgt_system_stateâ and âenum scsi_target_stateâ

Signed-off-by: Arne Redlich <arne.redlich@xxxxxxxxxxxxxx>
---
 usr/target.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/target.c b/usr/target.c
index b8b8715..d5e1958 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -1988,7 +1988,7 @@ static struct {
 	{TGT_SYSTEM_READY, "ready"},
 };
 
-static char *system_state_name(enum scsi_target_state state)
+static char *system_state_name(enum tgt_system_state state)
 {
 	int i;
 	char *name = NULL;
-- 
1.7.4.1



--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux