summaryrefslogtreecommitdiff
path: root/sys/arch/beagle/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-08-07 03:50:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-08-07 03:50:03 +0000
commiteb95cc9da073c2c7f556ff2c8c2a63c319881bfb (patch)
treed3984d88de35cd21a0754c75a71b124b3e0c79f2 /sys/arch/beagle/dev
parent327b342b96e585a8d91a4811578b95328b8aead2 (diff)
No "\n" needed at the end of panic() strings.
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
Diffstat (limited to 'sys/arch/beagle/dev')
-rw-r--r--sys/arch/beagle/dev/gptimer.c4
-rw-r--r--sys/arch/beagle/dev/intc.c4
-rw-r--r--sys/arch/beagle/dev/omdisplay.c4
-rw-r--r--sys/arch/beagle/dev/omgpio.c8
-rw-r--r--sys/arch/beagle/dev/prcm.c4
5 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/beagle/dev/gptimer.c b/sys/arch/beagle/dev/gptimer.c
index 3258819dd90..a3afbb62209 100644
--- a/sys/arch/beagle/dev/gptimer.c
+++ b/sys/arch/beagle/dev/gptimer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gptimer.c,v 1.3 2010/02/22 23:16:47 drahn Exp $ */
+/* $OpenBSD: gptimer.c,v 1.4 2010/08/07 03:50:01 krw Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -177,7 +177,7 @@ gptimer_attach(struct device *parent, struct device *self, void *args)
tc_init(&gptimer_timecounter);
}
else
- panic("attaching too many gptimers at %x\n", aa->aa_addr);
+ panic("attaching too many gptimers at %x", aa->aa_addr);
}
/*
diff --git a/sys/arch/beagle/dev/intc.c b/sys/arch/beagle/dev/intc.c
index 27df50c37e1..af5f54d7d8d 100644
--- a/sys/arch/beagle/dev/intc.c
+++ b/sys/arch/beagle/dev/intc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intc.c,v 1.2 2010/06/01 03:11:43 drahn Exp $ */
+/* $OpenBSD: intc.c,v 1.3 2010/08/07 03:50:01 krw Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -424,7 +424,7 @@ intc_intr_establish(int irqno, int level, int (*func)(void *),
struct intrhand *ih;
if (irqno < 0 || irqno > NIRQ)
- panic("intc_intr_establish: bogus irqnumber %d: %s\n",
+ panic("intc_intr_establish: bogus irqnumber %d: %s",
irqno, name);
psw = disable_interrupts(I32_bit);
diff --git a/sys/arch/beagle/dev/omdisplay.c b/sys/arch/beagle/dev/omdisplay.c
index 062867ce71c..30c509dd7d1 100644
--- a/sys/arch/beagle/dev/omdisplay.c
+++ b/sys/arch/beagle/dev/omdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omdisplay.c,v 1.1 2009/05/08 03:13:26 drahn Exp $ */
+/* $OpenBSD: omdisplay.c,v 1.2 2010/08/07 03:50:01 krw Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
*
@@ -1010,7 +1010,7 @@ omdisplay_initialize(struct omdisplay_softc *sc,
mode = DISPC_GFX_ATTRIBUTES_GFXFMT_24;
break;
default:
- panic("invalid depth %d\n", geom->depth);
+ panic("invalid depth %d", geom->depth);
}
bus_space_write_4(sc->sc_iot, sc->sc_dcioh, DISPC_GFX_ATTRIBUTES,
DISPC_GFX_ATTRIBUTES_GFXENABLE | mode |
diff --git a/sys/arch/beagle/dev/omgpio.c b/sys/arch/beagle/dev/omgpio.c
index ec148fadb3c..40e6e25353c 100644
--- a/sys/arch/beagle/dev/omgpio.c
+++ b/sys/arch/beagle/dev/omgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omgpio.c,v 1.2 2010/05/09 15:46:17 jasper Exp $ */
+/* $OpenBSD: omgpio.c,v 1.3 2010/08/07 03:50:01 krw Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -306,13 +306,13 @@ omgpio_intr_establish(unsigned int gpio, int level, int spl,
*/
if (GPIO_PIN_TO_INST(gpio) > NOMGPIO)
- panic("omgpio_intr_establish: bogus irqnumber %d: %s\n",
+ panic("omgpio_intr_establish: bogus irqnumber %d: %s",
gpio, name);
sc = omgpio_cd.cd_devs[GPIO_PIN_TO_INST(gpio)];
if (sc->sc_handlers[GPIO_PIN_TO_OFFSET(gpio)] != NULL)
- panic("omgpio_intr_establish: gpio pin busy %d old %s new %s\n",
+ panic("omgpio_intr_establish: gpio pin busy %d old %s new %s",
gpio, sc->sc_handlers[GPIO_PIN_TO_OFFSET(gpio)]->ih_name,
name);
@@ -388,7 +388,7 @@ omgpio_irq(void *v)
ih->ih_count.ec_count++;
omgpio_clear_intr(ih->ih_gpio);
} else {
- panic("omgpio: irq fired no handler, gpio %x %x %x\n",
+ panic("omgpio: irq fired no handler, gpio %x %x %x",
sc->sc_dev.dv_unit * 32 + bit, pending,
bus_space_read_4(sc->sc_iot, sc->sc_ioh, GPIO_IRQENABLE1)
diff --git a/sys/arch/beagle/dev/prcm.c b/sys/arch/beagle/dev/prcm.c
index cf3a9bf705f..04fd63c7cf9 100644
--- a/sys/arch/beagle/dev/prcm.c
+++ b/sys/arch/beagle/dev/prcm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prcm.c,v 1.3 2010/02/12 05:31:11 drahn Exp $ */
+/* $OpenBSD: prcm.c,v 1.4 2010/08/07 03:50:01 krw Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -258,7 +258,7 @@ prcm_setclock(int clock, int speed)
bus_space_write_4(prcm_iot, prcm_ioh, CM_CLKSEL_PER, reg);
} else
- panic("prcm_setclock invalid clock %d\n", clock);
+ panic("prcm_setclock invalid clock %d", clock);
#endif
}