aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_spc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-03-26 12:27:35 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-03-26 14:53:05 -0700
commit3abff1e5b0ab19900364cf1faddb92d64f9ee2cb (patch)
treecc682ed9bca484370ed61917b27ff7c7cb70d610 /drivers/target/target_core_spc.c
parenttarget: add __releases annotation to target_release_cmd_kref (diff)
downloadlinux-dev-3abff1e5b0ab19900364cf1faddb92d64f9ee2cb.tar.xz
linux-dev-3abff1e5b0ab19900364cf1faddb92d64f9ee2cb.zip
target: add missing sense_reason_t annotations
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_spc.c')
-rw-r--r--drivers/target/target_core_spc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c
index 460e93109473..f310aac38bd8 100644
--- a/drivers/target/target_core_spc.c
+++ b/drivers/target/target_core_spc.c
@@ -1112,7 +1112,7 @@ static sense_reason_t spc_emulate_modeselect(struct se_cmd *cmd)
unsigned char *buf;
unsigned char tbuf[SE_MODE_PAGE_BUF];
int length;
- int ret = 0;
+ sense_reason_t ret = 0;
int i;
if (!cmd->data_length) {