Displaying 7 results from an estimated 7 matches for "vhost_scsi_get_fabric_nam".
Did you mean:
vhost_scsi_get_fabric_name
2017 Jan 09
3
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
.../scsi.c
@@ -2087,7 +2087,7 @@ static void vhost_scsi_drop_tport(struct se_wwn *wwn)
NULL,
};
-static struct target_core_fabric_ops vhost_scsi_ops = {
+static const struct target_core_fabric_ops vhost_scsi_ops = {
.module = THIS_MODULE,
.name = "vhost",
.get_fabric_name = vhost_scsi_get_fabric_name,
--
1.9.1
2017 Jan 09
3
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
.../scsi.c
@@ -2087,7 +2087,7 @@ static void vhost_scsi_drop_tport(struct se_wwn *wwn)
NULL,
};
-static struct target_core_fabric_ops vhost_scsi_ops = {
+static const struct target_core_fabric_ops vhost_scsi_ops = {
.module = THIS_MODULE,
.name = "vhost",
.get_fabric_name = vhost_scsi_get_fabric_name,
--
1.9.1
2017 Jan 10
1
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
...struct target_core_fabric_ops vhost_scsi_ops = {
>> +static const struct target_core_fabric_ops vhost_scsi_ops = {
>> .module = THIS_MODULE,
>> .name = "vhost",
>> .get_fabric_name = vhost_scsi_get_fabric_name,
>
> If it can be const it probably should ...
>
>> --
>> 1.9.1
2017 Jan 10
1
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
...struct target_core_fabric_ops vhost_scsi_ops = {
>> +static const struct target_core_fabric_ops vhost_scsi_ops = {
>> .module = THIS_MODULE,
>> .name = "vhost",
>> .get_fabric_name = vhost_scsi_get_fabric_name,
>
> If it can be const it probably should ...
>
>> --
>> 1.9.1
2017 Jan 10
0
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
...t_scsi_drop_tport(struct se_wwn *wwn)
> NULL,
> };
>
> -static struct target_core_fabric_ops vhost_scsi_ops = {
> +static const struct target_core_fabric_ops vhost_scsi_ops = {
> .module = THIS_MODULE,
> .name = "vhost",
> .get_fabric_name = vhost_scsi_get_fabric_name,
Acked-by: Jason Wang <jasowang at redhat.com>
2017 Jan 10
0
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
...d vhost_scsi_drop_tport(struct se_wwn *wwn)
> NULL,
> };
>
> -static struct target_core_fabric_ops vhost_scsi_ops = {
> +static const struct target_core_fabric_ops vhost_scsi_ops = {
> .module = THIS_MODULE,
> .name = "vhost",
> .get_fabric_name = vhost_scsi_get_fabric_name,
If it can be const it probably should ...
> --
> 1.9.1
2017 Jan 10
0
[PATCH] vhost: scsi: constify target_core_fabric_ops structures
...abric_ops vhost_scsi_ops = {
> >> +static const struct target_core_fabric_ops vhost_scsi_ops = {
> >> .module = THIS_MODULE,
> >> .name = "vhost",
> >> .get_fabric_name = vhost_scsi_get_fabric_name,
> >
> > If it can be const it probably should ...
> >
> >> --
> >> 1.9.1