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