Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 09:59:43 +0000 (UTC)
From:      Svatopluk Kraus <skra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300409 - head/sys/arm/freescale/imx
Message-ID:  <201605220959.u4M9xhsY023917@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605220959.u4M9xhsY023917>