Displaying 5 results from an estimated 5 matches for "6325b1d".
Did you mean:
63251
2013 May 28
2
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...confused. Actually it fail
to find a matching one, so change the error value.
Signed-off-by: Wenchao Xia <wenchaolinux at gmail.com>
---
drivers/vhost/scsi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 7014202..6325b1d 100644
--- a/drivers/vhost/scsi.c
+++ b/drivers/vhost/scsi.c
@@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint(
}
ret = 0;
} else {
- ret = -EEXIST;
+ ret = -ENOENT;
}
/*
--
1.7.1
2013 May 28
2
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...confused. Actually it fail
to find a matching one, so change the error value.
Signed-off-by: Wenchao Xia <wenchaolinux at gmail.com>
---
drivers/vhost/scsi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index 7014202..6325b1d 100644
--- a/drivers/vhost/scsi.c
+++ b/drivers/vhost/scsi.c
@@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint(
}
ret = 0;
} else {
- ret = -EEXIST;
+ ret = -ENOENT;
}
/*
--
1.7.1
2013 May 28
0
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...hat.com>
BTW, It would be nice to print more informative info in qemu when wwpn
is not available as well.
> ---
> drivers/vhost/scsi.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
> index 7014202..6325b1d 100644
> --- a/drivers/vhost/scsi.c
> +++ b/drivers/vhost/scsi.c
> @@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint(
> }
> ret = 0;
> } else {
> - ret = -EEXIST;
> + ret = -ENOENT;
> }
>
> /*
> --
> 1.7.1
>
--
Asias
2013 Jun 12
1
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...to print more informative info in qemu when wwpn
> is not available as well.
>
>> ---
>> drivers/vhost/scsi.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
>> index 7014202..6325b1d 100644
>> --- a/drivers/vhost/scsi.c
>> +++ b/drivers/vhost/scsi.c
>> @@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint(
>> }
>> ret = 0;
>> } else {
>> - ret = -EEXIST;
>> + ret = -ENOENT;
>> }
>>
>> /*
>...
2013 Jun 12
1
[PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found
...to print more informative info in qemu when wwpn
> is not available as well.
>
>> ---
>> drivers/vhost/scsi.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
>> index 7014202..6325b1d 100644
>> --- a/drivers/vhost/scsi.c
>> +++ b/drivers/vhost/scsi.c
>> @@ -1219,7 +1219,7 @@ static int vhost_scsi_set_endpoint(
>> }
>> ret = 0;
>> } else {
>> - ret = -EEXIST;
>> + ret = -ENOENT;
>> }
>>
>> /*
>...