Re: [PATCH 05/34] target/iscsi: Introduce a helper function for TMF translation

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

 



> +enum {
> +	UNKNOWN_TMF = 0xff
> +};
> +
> +static enum tcm_tmreq_table iscsit_convert_tmf(u8 iscsi_tmf)
> +{
> +	switch (iscsi_tmf) {
> +	case ISCSI_TM_FUNC_ABORT_TASK:
> +		return TMR_ABORT_TASK;

Shouldn't the unknown value start with TMF_ and be added to the
enum in include/target/target_core_base.h?
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux