On 08/13/2012 05:30 AM, John Soni Jose wrote:
>  
> +/**
> +  * beiscsi_set_vlan_attrib : Set the VLAN priority
> +  *  @shost : Scsi_Host pointer for the function.

extra space.


> +     case ISCSI_NET_PARAM_VLAN_ID:
> +             if (if_info.vlan_priority == BEISCSI_VLAN_DISABLE)
> +                     len = sprintf(buf, "\n");
> +             else
> +                     len = sprintf(buf, "%d\n",
> +                                     (if_info.vlan_priority &
> +                                      ISCSI_MAX_VLAN_ID));
> +             break;
> +     case ISCSI_NET_PARAM_VLAN_PRIORITY:
> +             if (if_info.vlan_priority == BEISCSI_VLAN_DISABLE)
> +                     len = sprintf(buf, "\n");

If its disabled then return -EINVAL.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to