[stgt] [PATCH 3/4] changed a misspelled ASC define to ASC_CMDS_CLEARED_BY_ANOTHER_INI

nezhinsky at gmail.com nezhinsky at gmail.com
Wed Aug 8 09:03:23 CEST 2012


From: Alexander Nezhinsky <nezhinsky at gmail.com>


Signed-off-by: Alexander Nezhinsky <alexandern at mellanox.com>
---
 usr/scsi.h   |    2 +-
 usr/target.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/scsi.h b/usr/scsi.h
index 0fd18d3..043df1f 100644
--- a/usr/scsi.h
+++ b/usr/scsi.h
@@ -225,7 +225,7 @@
 #define ASC_RESERVATIONS_PREEMPTED		0x2a03
 #define ASC_RESERVATIONS_RELEASED		0x2a04
 #define ASC_INSUFFICIENT_TIME_FOR_OPERATION	0x2e00
-#define ASC_COMMANDS_CLEARED_BY_ANOTHOR_INI	0x2f00
+#define ASC_CMDS_CLEARED_BY_ANOTHER_INI		0x2f00
 #define ASC_MICROCODE_DOWNLOADED		0x3f01
 #define ASC_INQUIRY_DATA_HAS_CHANGED		0x3f03
 #define ASC_REPORTED_LUNS_DATA_HAS_CHANGED	0x3f0e
diff --git a/usr/target.c b/usr/target.c
index dea4099..a8bcdbb 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -1389,7 +1389,7 @@ enum mgmt_req_result target_mgmt_request(int tid, uint64_t itn_id,
 				if (itn_lu->lu->lun == lun) {
 					asc = (itn->itn_id == itn_id) ?
 						ASC_POWERON_RESET :
-						ASC_COMMANDS_CLEARED_BY_ANOTHOR_INI;
+						ASC_CMDS_CLEARED_BY_ANOTHER_INI;
 
 					asc = ua_sense_add(itn_lu, asc);
 					break;
-- 
1.7.9.6

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



More information about the stgt mailing list