Re: [PATCH 9/12] qla2xxx: Use midlayer's int_to_scsilun() function.

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

 



> -	cmd_pkt->lun[1] = LSB(sp->cmd->device->lun);
> -	cmd_pkt->lun[2] = MSB(sp->cmd->device->lun);
> +	int_to_scsilun(sp->cmd->device->lun, (struct scsi_lun *)cmd_pkt->lun);

Please make the field of type struct scsi_lun instead of the cast.

-
: 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