mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
scst: Use enum scst_exec_res where appropriate
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -253,9 +253,9 @@ out_unlock_put_not_completed:
|
||||
goto out;
|
||||
}
|
||||
|
||||
static int scst_report_supported_tm_fns(struct scst_cmd *cmd)
|
||||
static enum scst_exec_res scst_report_supported_tm_fns(struct scst_cmd *cmd)
|
||||
{
|
||||
int res = SCST_EXEC_COMPLETED;
|
||||
const enum scst_exec_res res = SCST_EXEC_COMPLETED;
|
||||
int length, resp_len = 0;
|
||||
uint8_t *address;
|
||||
uint8_t buf[16];
|
||||
@@ -302,9 +302,9 @@ out_compl:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int scst_report_supported_opcodes(struct scst_cmd *cmd)
|
||||
static enum scst_exec_res scst_report_supported_opcodes(struct scst_cmd *cmd)
|
||||
{
|
||||
int res = SCST_EXEC_COMPLETED;
|
||||
const enum scst_exec_res res = SCST_EXEC_COMPLETED;
|
||||
int length, buf_len, i, offs;
|
||||
uint8_t *address;
|
||||
uint8_t *buf;
|
||||
|
||||
Reference in New Issue
Block a user