scsi: use 64-bit value for 'max_luns'
[deliverable/linux.git] / drivers / scsi / eata.c
index ebf57364df912a7b9f4a78a9775fc1d2ddacfd7e..03372cff38f39b3caef6ff47b36cd04c5bf79c6c 100644 (file)
@@ -1399,7 +1399,7 @@ static int port_detect(unsigned long port_base, unsigned int j,
 
        if (shost->max_id > 8 || shost->max_lun > 8)
                printk
-                   ("%s: wide SCSI support enabled, max_id %u, max_lun %u.\n",
+                   ("%s: wide SCSI support enabled, max_id %u, max_lun %llu.\n",
                     ha->board_name, shost->max_id, shost->max_lun);
 
        for (i = 0; i <= shost->max_channel; i++)
@@ -2449,7 +2449,7 @@ static irqreturn_t ihdlr(struct Scsi_Host *shost)
                               "target_status 0x%x, sense key 0x%x.\n",
                               ha->board_name,
                               SCpnt->device->channel, SCpnt->device->id,
-                              SCpnt->device->lun,
+                              (u8)SCpnt->device->lun,
                               spp->target_status, SCpnt->sense_buffer[2]);
 
                ha->target_to[SCpnt->device->id][SCpnt->device->channel] = 0;
This page took 0.024624 seconds and 5 git commands to generate.