diff options
Diffstat (limited to 'arch/sparc/kernel/vio.c')
-rw-r--r-- | arch/sparc/kernel/vio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/vio.c b/arch/sparc/kernel/vio.c index 92b1f8ec01de..753d128ed158 100644 --- a/arch/sparc/kernel/vio.c +++ b/arch/sparc/kernel/vio.c | |||
@@ -263,10 +263,10 @@ static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, | |||
263 | dev_set_name(&vdev->dev, "%s", bus_id_name); | 263 | dev_set_name(&vdev->dev, "%s", bus_id_name); |
264 | vdev->dev_no = ~(u64)0; | 264 | vdev->dev_no = ~(u64)0; |
265 | } else if (!cfg_handle) { | 265 | } else if (!cfg_handle) { |
266 | dev_set_name(&vdev->dev, "%s-%lu", bus_id_name, *id); | 266 | dev_set_name(&vdev->dev, "%s-%llu", bus_id_name, *id); |
267 | vdev->dev_no = *id; | 267 | vdev->dev_no = *id; |
268 | } else { | 268 | } else { |
269 | dev_set_name(&vdev->dev, "%s-%lu-%lu", bus_id_name, | 269 | dev_set_name(&vdev->dev, "%s-%llu-%llu", bus_id_name, |
270 | *cfg_handle, *id); | 270 | *cfg_handle, *id); |
271 | vdev->dev_no = *cfg_handle; | 271 | vdev->dev_no = *cfg_handle; |
272 | } | 272 | } |