diff options
Diffstat (limited to 'drivers/block/sunvdc.c')
-rw-r--r-- | drivers/block/sunvdc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 953c0b83d758..5861e33efe63 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c | |||
@@ -153,7 +153,7 @@ static int vdc_send_attr(struct vio_driver_state *vio) | |||
153 | pkt.vdisk_block_size = port->vdisk_block_size; | 153 | pkt.vdisk_block_size = port->vdisk_block_size; |
154 | pkt.max_xfer_size = port->max_xfer_size; | 154 | pkt.max_xfer_size = port->max_xfer_size; |
155 | 155 | ||
156 | viodbg(HS, "SEND ATTR xfer_mode[0x%x] blksz[%u] max_xfer[%lu]\n", | 156 | viodbg(HS, "SEND ATTR xfer_mode[0x%x] blksz[%u] max_xfer[%llu]\n", |
157 | pkt.xfer_mode, pkt.vdisk_block_size, pkt.max_xfer_size); | 157 | pkt.xfer_mode, pkt.vdisk_block_size, pkt.max_xfer_size); |
158 | 158 | ||
159 | return vio_ldc_send(&port->vio, &pkt, sizeof(pkt)); | 159 | return vio_ldc_send(&port->vio, &pkt, sizeof(pkt)); |
@@ -164,8 +164,8 @@ static int vdc_handle_attr(struct vio_driver_state *vio, void *arg) | |||
164 | struct vdc_port *port = to_vdc_port(vio); | 164 | struct vdc_port *port = to_vdc_port(vio); |
165 | struct vio_disk_attr_info *pkt = arg; | 165 | struct vio_disk_attr_info *pkt = arg; |
166 | 166 | ||
167 | viodbg(HS, "GOT ATTR stype[0x%x] ops[%lx] disk_size[%lu] disk_type[%x] " | 167 | viodbg(HS, "GOT ATTR stype[0x%x] ops[%llx] disk_size[%llu] disk_type[%x] " |
168 | "xfer_mode[0x%x] blksz[%u] max_xfer[%lu]\n", | 168 | "xfer_mode[0x%x] blksz[%u] max_xfer[%llu]\n", |
169 | pkt->tag.stype, pkt->operations, | 169 | pkt->tag.stype, pkt->operations, |
170 | pkt->vdisk_size, pkt->vdisk_type, | 170 | pkt->vdisk_size, pkt->vdisk_type, |
171 | pkt->xfer_mode, pkt->vdisk_block_size, | 171 | pkt->xfer_mode, pkt->vdisk_block_size, |
@@ -753,7 +753,7 @@ static int __devinit vdc_port_probe(struct vio_dev *vdev, | |||
753 | 753 | ||
754 | err = -ENODEV; | 754 | err = -ENODEV; |
755 | if ((vdev->dev_no << PARTITION_SHIFT) & ~(u64)MINORMASK) { | 755 | if ((vdev->dev_no << PARTITION_SHIFT) & ~(u64)MINORMASK) { |
756 | printk(KERN_ERR PFX "Port id [%lu] too large.\n", | 756 | printk(KERN_ERR PFX "Port id [%llu] too large.\n", |
757 | vdev->dev_no); | 757 | vdev->dev_no); |
758 | goto err_out_release_mdesc; | 758 | goto err_out_release_mdesc; |
759 | } | 759 | } |