SCSI: Update ASC list and make it const
PATCH 1/1 SCSI: Update ASC list and make it const
Add missing additional sense code and provide pointer to upstream reference (from Doug Gilbert).
Add missing const (from Michael Tokarev).
---
constants.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-)
drivers/scsi/constants.c +6 -1
@@ -404,7 +404,11 @@ struct error_info {const char * text; }; -static struct error_info additional[] = +/* +* The canonical list of T10 Additional Sense Codes is available at: +* http://www.t10.org/lists/asc-num.txt +*/ +static const struct error_info additional[] = { {0x0000 ,"No additional sense information" }, {0x0001 ,"Filemark detected" },
@@ -708,6 +712,7 @@ static struct error_info additional[] = {0x2F00, "Commands cleared by another initiator"}, {0x2F01, "Commands cleared by power loss notification"}, + {0x2F02, "Commands cleared by device server"}, {0x3000, "Incompatible medium installed"}, {0x3001, "Cannot read medium - unknown format"},
Quoted 2 lines · Martin K. Petersen
+ * The canonical list of T10 Additional Sense Codes is available at:
+ * http://www.t10.org/lists/asc-num.txt+ */
Please do a
- * http://www.t10.org/lists/asc-num.txt+ */
+ * http://www.t10.org/lists/asc-num.txt */
its a typo.
Regards
Daniel
Signature · 4 lines
.''`. : :' : Daniel J. Priem `. `' http://flexserv.de `-
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel J Priem <[email protected]> writes:
Daniel> - * http://www.t10.org/lists/asc-num.txt+ */ Daniel> + * http://www.t10.org/lists/asc-num.txt */
Daniel> its a typo.
The diff looks fine both here and in the archives. Maybe your mailer mangled it?
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Quoted 9 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel J Priem <[email protected]> writes:
Daniel> - * http://www.t10.org/lists/asc-num.txt+ */ Daniel> + * http://www.t10.org/lists/asc-num.txt */
Daniel> its a typo.
The diff looks fine both here and in the archives. Maybe your mailer mangled it?
Yes. you are right. i crosschecked against
http://permalink.gmane.org/gmane.linux.scsi/30188 ...
Signature · 4 lines
.''`. : :' : Daniel J. Priem `. `' http://flexserv.de `-