Re: [PATCH 5/7] Add support for configuring the VLAN on the adapter.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux