svn commit: r300409 - head/sys/arm/freescale/imx
Svatopluk Kraus
skra at FreeBSD.org
Sun May 22 09:59:44 UTC 2016
Author: skra
Date: Sun May 22 09:59:43 2016
New Revision: 300409
URL: https://svnweb.freebsd.org/changeset/base/300409
Log:
Fix some format strings to make them either correct or uniform.
No functional change.
Modified:
head/sys/arm/freescale/imx/imx_gpio.c
Modified: head/sys/arm/freescale/imx/imx_gpio.c
==============================================================================
--- head/sys/arm/freescale/imx/imx_gpio.c Sun May 22 08:43:36 2016 (r300408)
+++ head/sys/arm/freescale/imx/imx_gpio.c Sun May 22 09:59:43 2016 (r300409)
@@ -179,14 +179,14 @@ gpio_pic_map_fdt(device_t dev, u_int nce
*/
if (ncells != 2) {
- device_printf(sc->dev, "Invalid #interrupt-cells");
+ device_printf(sc->dev, "Invalid #interrupt-cells\n");
return (EINVAL);
}
irq = cells[0];
tripol = cells[1];
if (irq >= sc->gpio_npins) {
- device_printf(sc->dev, "Invalid interrupt number %d", irq);
+ device_printf(sc->dev, "Invalid interrupt number %u\n", irq);
return (EINVAL);
}
switch (tripol) {
@@ -207,7 +207,7 @@ gpio_pic_map_fdt(device_t dev, u_int nce
pol = INTR_POLARITY_LOW;
break;
default:
- device_printf(sc->dev, "unsupported trigger/polarity 0x%2x\n",
+ device_printf(sc->dev, "Unsupported trigger/polarity 0x%2x\n",
tripol);
return (ENOTSUP);
}
More information about the svn-src-all
mailing list