Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm Use PRIxBUSADDR



details:   https://anonhg.NetBSD.org/src/rev/99270271affd
branches:  trunk
changeset: 1004244:99270271affd
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Oct 18 06:50:08 2019 +0000

description:
Use PRIxBUSADDR

diffstat:

 sys/arch/arm/altera/cycv_clkmgr.c |  8 ++++----
 sys/arch/arm/altera/cycv_dwcmmc.c |  8 ++++----
 sys/arch/arm/altera/cycv_rstmgr.c |  8 ++++----
 sys/arch/arm/rockchip/rk_pwm.c    |  8 ++++----
 sys/arch/arm/ti/ti_com.c          |  6 +++---
 5 files changed, 19 insertions(+), 19 deletions(-)

diffs (137 lines):

diff -r 2dc03a1136a5 -r 99270271affd sys/arch/arm/altera/cycv_clkmgr.c
--- a/sys/arch/arm/altera/cycv_clkmgr.c Fri Oct 18 06:13:38 2019 +0000
+++ b/sys/arch/arm/altera/cycv_clkmgr.c Fri Oct 18 06:50:08 2019 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: cycv_clkmgr.c,v 1.3 2019/10/01 18:00:07 chs Exp $ */
+/* $NetBSD: cycv_clkmgr.c,v 1.4 2019/10/18 06:50:08 skrll Exp $ */
 
 /* This file is in the public domain. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.3 2019/10/01 18:00:07 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.4 2019/10/18 06:50:08 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -138,8 +138,8 @@
        sc->sc_bst = faa->faa_bst;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
-               aprint_error(": couldn't map %#llx: %d",
-                            (uint64_t) addr, error);
+               aprint_error(": couldn't map %#" PRIxBUSADDR ": %d",
+                            addr, error);
                return;
        }
 
diff -r 2dc03a1136a5 -r 99270271affd sys/arch/arm/altera/cycv_dwcmmc.c
--- a/sys/arch/arm/altera/cycv_dwcmmc.c Fri Oct 18 06:13:38 2019 +0000
+++ b/sys/arch/arm/altera/cycv_dwcmmc.c Fri Oct 18 06:50:08 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cycv_dwcmmc.c,v 1.3 2019/05/24 10:37:39 jmcneill Exp $ */
+/* $NetBSD: cycv_dwcmmc.c,v 1.4 2019/10/18 06:50:08 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cycv_dwcmmc.c,v 1.3 2019/05/24 10:37:39 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cycv_dwcmmc.c,v 1.4 2019/10/18 06:50:08 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -125,8 +125,8 @@
        sc->sc_dmat = faa->faa_dmat;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
-               aprint_error(": couldn't map %#llx: %d\n",
-                   (uint64_t)addr, error);
+               aprint_error(": couldn't map %#" PRIxBUSADDR ": %d\n",
+                   addr, error);
                return;
        }
 
diff -r 2dc03a1136a5 -r 99270271affd sys/arch/arm/altera/cycv_rstmgr.c
--- a/sys/arch/arm/altera/cycv_rstmgr.c Fri Oct 18 06:13:38 2019 +0000
+++ b/sys/arch/arm/altera/cycv_rstmgr.c Fri Oct 18 06:50:08 2019 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: cycv_rstmgr.c,v 1.2 2018/10/14 18:53:01 aymeric Exp $ */
+/* $NetBSD: cycv_rstmgr.c,v 1.3 2019/10/18 06:50:08 skrll Exp $ */
 
 /* This file is in the public domain. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cycv_rstmgr.c,v 1.2 2018/10/14 18:53:01 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cycv_rstmgr.c,v 1.3 2019/10/18 06:50:08 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -77,8 +77,8 @@
        sc->sc_bst = faa->faa_bst;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
-               aprint_error(": couldn't map %#llx: %d",
-                            (uint64_t) addr, error);
+               aprint_error(": couldn't map %#" PRIxBUSADDR ": %d",
+                            addr, error);
                return;
        }
 
diff -r 2dc03a1136a5 -r 99270271affd sys/arch/arm/rockchip/rk_pwm.c
--- a/sys/arch/arm/rockchip/rk_pwm.c    Fri Oct 18 06:13:38 2019 +0000
+++ b/sys/arch/arm/rockchip/rk_pwm.c    Fri Oct 18 06:50:08 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_pwm.c,v 1.1 2019/05/01 10:41:33 jmcneill Exp $ */
+/* $NetBSD: rk_pwm.c,v 1.2 2019/10/18 06:51:02 skrll Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: rk_pwm.c,v 1.1 2019/05/01 10:41:33 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rk_pwm.c,v 1.2 2019/10/18 06:51:02 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -221,8 +221,8 @@
        sc->sc_bst = faa->faa_bst;
        error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_bsh);
        if (error) {
-               aprint_error(": couldn't map %#" PRIx64 ": %d",
-                   (uint64_t)addr, error);
+               aprint_error(": couldn't map %#" PRIxBUSADDR ": %d",
+                   addr, error);
                return;
        }
 
diff -r 2dc03a1136a5 -r 99270271affd sys/arch/arm/ti/ti_com.c
--- a/sys/arch/arm/ti/ti_com.c  Fri Oct 18 06:13:38 2019 +0000
+++ b/sys/arch/arm/ti/ti_com.c  Fri Oct 18 06:50:08 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_com.c,v 1.4 2018/12/08 17:46:10 thorpej Exp $ */
+/* $NetBSD: ti_com.c,v 1.5 2019/10/18 06:58:06 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: ti_com.c,v 1.4 2018/12/08 17:46:10 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: ti_com.c,v 1.5 2019/10/18 06:58:06 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -102,7 +102,7 @@
 
        error = bus_space_map(bst, addr, size, 0, &bsh);
        if (error) {
-               aprint_error(": couldn't map %#llx: %d", (uint64_t)addr, error);
+               aprint_error(": couldn't map %#" PRIxBUSADDR ": %d", addr, error);
                return;
        }
 



Home | Main Index | Thread Index | Old Index