Skip to content

Commit

Permalink
staging: vme: Add missing CR in printk messages in vme_pio2_core.c
Browse files Browse the repository at this point in the history
This patch add missing CR in messages within vme_pio2_core.c

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
standby24x7 authored and gregkh committed Jul 18, 2014
1 parent 115eed8 commit fbeca3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/staging/vme/devices/vme_pio2_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,30 +182,30 @@ static int pio2_match(struct vme_dev *vdev)

if (vdev->num >= bus_num) {
dev_err(&vdev->dev,
"The enumeration of the VMEbus to which the board is connected must be specified");
"The enumeration of the VMEbus to which the board is connected must be specified\n");
return 0;
}

if (vdev->num >= base_num) {
dev_err(&vdev->dev,
"The VME address for the cards registers must be specified");
"The VME address for the cards registers must be specified\n");
return 0;
}

if (vdev->num >= vector_num) {
dev_err(&vdev->dev,
"The IRQ vector used by the card must be specified");
"The IRQ vector used by the card must be specified\n");
return 0;
}

if (vdev->num >= level_num) {
dev_err(&vdev->dev,
"The IRQ level used by the card must be specified");
"The IRQ level used by the card must be specified\n");
return 0;
}

if (vdev->num >= variant_num) {
dev_err(&vdev->dev, "The variant of the card must be specified");
dev_err(&vdev->dev, "The variant of the card must be specified\n");
return 0;
}

Expand Down Expand Up @@ -324,7 +324,7 @@ static int pio2_probe(struct vme_dev *vdev)
retval = pio2_reset_card(card);
if (retval) {
dev_err(&card->vdev->dev,
"Failed to reset card, is location valid?");
"Failed to reset card, is location valid?\n");
retval = -ENODEV;
goto err_reset;
}
Expand Down

0 comments on commit fbeca3c

Please sign in to comment.