mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
Sense handling improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -75,6 +75,11 @@ static int set_sense(uint8_t *buffer, int len, int key, int asc, int ascq)
|
||||
return res;
|
||||
}
|
||||
|
||||
/*
|
||||
* ToDo: implement analogs of scst_set_invalid_field_in_cdb() and
|
||||
* scst_set_invalid_field_in_parm_list()
|
||||
*/
|
||||
|
||||
void set_cmd_error(struct vdisk_cmd *vcmd, int key, int asc, int ascq)
|
||||
{
|
||||
struct scst_user_scsi_cmd_reply_exec *reply = &vcmd->reply->exec_reply;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <scst_user.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user