@@ -95,7 +95,7 @@ static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx);
9595static void mptscsih_copy_sense_data (struct scsi_cmnd * sc , MPT_SCSI_HOST * hd , MPT_FRAME_HDR * mf , SCSIIOReply_t * pScsiReply );
9696
9797int mptscsih_IssueTaskMgmt (MPT_SCSI_HOST * hd , u8 type , u8 channel , u8 id ,
98- int lun , int ctx2abort , ulong timeout );
98+ u64 lun , int ctx2abort , ulong timeout );
9999
100100int mptscsih_ioc_reset (MPT_ADAPTER * ioc , int post_reset );
101101int mptscsih_event_process (MPT_ADAPTER * ioc , EventNotificationReply_t * pEvReply );
@@ -536,7 +536,7 @@ mptscsih_info_scsiio(MPT_ADAPTER *ioc, struct scsi_cmnd *sc, SCSIIOReply_t * pSc
536536 }
537537
538538 scsi_print_command (sc );
539- printk (MYIOC_s_DEBUG_FMT "\tfw_channel = %d, fw_id = %d, lun = %d \n" ,
539+ printk (MYIOC_s_DEBUG_FMT "\tfw_channel = %d, fw_id = %d, lun = %llu \n" ,
540540 ioc -> name , pScsiReply -> Bus , pScsiReply -> TargetID , sc -> device -> lun );
541541 printk (MYIOC_s_DEBUG_FMT "\trequest_len = %d, underflow = %d, "
542542 "resid = %d\n" , ioc -> name , scsi_bufflen (sc ), sc -> underflow ,
@@ -692,7 +692,7 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
692692 */
693693 if (scsi_state & MPI_SCSI_STATE_RESPONSE_INFO_VALID &&
694694 pScsiReply -> ResponseInfo ) {
695- printk (MYIOC_s_NOTE_FMT "[%d:%d:%d:%d ] "
695+ printk (MYIOC_s_NOTE_FMT "[%d:%d:%d:%llu ] "
696696 "FCP_ResponseInfo=%08xh\n" , ioc -> name ,
697697 sc -> device -> host -> host_no , sc -> device -> channel ,
698698 sc -> device -> id , sc -> device -> lun ,
@@ -1155,7 +1155,7 @@ mptscsih_report_queue_full(struct scsi_cmnd *sc, SCSIIOReply_t *pScsiReply, SCSI
11551155 return ;
11561156 ioc = hd -> ioc ;
11571157 if (time - hd -> last_queue_full > 10 * HZ ) {
1158- dprintk (ioc , printk (MYIOC_s_WARN_FMT "Device (%d:%d:%d ) reported QUEUE_FULL!\n" ,
1158+ dprintk (ioc , printk (MYIOC_s_WARN_FMT "Device (%d:%d:%llu ) reported QUEUE_FULL!\n" ,
11591159 ioc -> name , 0 , sc -> device -> id , sc -> device -> lun ));
11601160 hd -> last_queue_full = time ;
11611161 }
@@ -1518,7 +1518,7 @@ mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx)
15181518 *
15191519 **/
15201520int
1521- mptscsih_IssueTaskMgmt (MPT_SCSI_HOST * hd , u8 type , u8 channel , u8 id , int lun ,
1521+ mptscsih_IssueTaskMgmt (MPT_SCSI_HOST * hd , u8 type , u8 channel , u8 id , u64 lun ,
15221522 int ctx2abort , ulong timeout )
15231523{
15241524 MPT_FRAME_HDR * mf ;
@@ -2380,7 +2380,7 @@ mptscsih_slave_configure(struct scsi_device *sdev)
23802380 vdevice = sdev -> hostdata ;
23812381
23822382 dsprintk (ioc , printk (MYIOC_s_DEBUG_FMT
2383- "device @ %p, channel=%d, id=%d, lun=%d \n" ,
2383+ "device @ %p, channel=%d, id=%d, lun=%llu \n" ,
23842384 ioc -> name , sdev , sdev -> channel , sdev -> id , sdev -> lun ));
23852385 if (ioc -> bus_type == SPI )
23862386 dsprintk (ioc , printk (MYIOC_s_DEBUG_FMT
@@ -2971,7 +2971,7 @@ mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io)
29712971 + (my_idx * MPT_SENSE_BUFFER_ALLOC ));
29722972
29732973 devtprintk (ioc , printk (MYIOC_s_DEBUG_FMT
2974- "%s: Sending Command 0x%02x for fw_channel=%d fw_id=%d lun=%d \n" ,
2974+ "%s: Sending Command 0x%02x for fw_channel=%d fw_id=%d lun=%llu \n" ,
29752975 ioc -> name , __func__ , cmd , io -> channel , io -> id , io -> lun ));
29762976
29772977 if (dir == MPI_SCSIIO_CONTROL_READ )
0 commit comments