Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx Use PRIxBUSADDR
details: https://anonhg.NetBSD.org/src/rev/51cf79049719
branches: trunk
changeset: 1005006:51cf79049719
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Nov 24 11:07:19 2019 +0000
description:
Use PRIxBUSADDR
diffstat:
sys/arch/arm/imx/fdt/imx6_gpio.c | 6 +++---
sys/arch/arm/imx/fdt/imx6_sdhc.c | 6 +++---
sys/arch/arm/imx/fdt/imx6_usb.c | 6 +++---
sys/arch/arm/imx/fdt/imx6_usbphy.c | 6 +++---
sys/arch/arm/imx/imx6_usbphy.c | 8 ++++----
5 files changed, 16 insertions(+), 16 deletions(-)
diffs (137 lines):
diff -r 0e8ec4136f1f -r 51cf79049719 sys/arch/arm/imx/fdt/imx6_gpio.c
--- a/sys/arch/arm/imx/fdt/imx6_gpio.c Sun Nov 24 10:27:37 2019 +0000
+++ b/sys/arch/arm/imx/fdt/imx6_gpio.c Sun Nov 24 11:07:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_gpio.c,v 1.2 2019/08/19 03:45:51 hkenken Exp $ */
+/* $NetBSD: imx6_gpio.c,v 1.3 2019/11/24 11:07:19 skrll Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_gpio.c,v 1.2 2019/08/19 03:45:51 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_gpio.c,v 1.3 2019/11/24 11:07:19 skrll Exp $");
#include "opt_fdt.h"
#include "gpio.h"
@@ -107,7 +107,7 @@
error = bus_space_map(faa->faa_bst, addr, size, 0, &ioh);
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 0e8ec4136f1f -r 51cf79049719 sys/arch/arm/imx/fdt/imx6_sdhc.c
--- a/sys/arch/arm/imx/fdt/imx6_sdhc.c Sun Nov 24 10:27:37 2019 +0000
+++ b/sys/arch/arm/imx/fdt/imx6_sdhc.c Sun Nov 24 11:07:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_sdhc.c,v 1.4 2019/10/23 05:20:52 hkenken Exp $ */
+/* $NetBSD: imx6_sdhc.c,v 1.5 2019/11/24 11:07:19 skrll Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_sdhc.c,v 1.4 2019/10/23 05:20:52 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_sdhc.c,v 1.5 2019/11/24 11:07:19 skrll Exp $");
#include "opt_fdt.h"
@@ -133,7 +133,7 @@
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;
}
sc->sc_bsz = size;
diff -r 0e8ec4136f1f -r 51cf79049719 sys/arch/arm/imx/fdt/imx6_usb.c
--- a/sys/arch/arm/imx/fdt/imx6_usb.c Sun Nov 24 10:27:37 2019 +0000
+++ b/sys/arch/arm/imx/fdt/imx6_usb.c Sun Nov 24 11:07:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_usb.c,v 1.2 2019/08/19 03:45:51 hkenken Exp $ */
+/* $NetBSD: imx6_usb.c,v 1.3 2019/11/24 11:07:19 skrll Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_usb.c,v 1.2 2019/08/19 03:45:51 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_usb.c,v 1.3 2019/11/24 11:07:19 skrll Exp $");
#include "opt_fdt.h"
@@ -111,7 +111,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;
}
diff -r 0e8ec4136f1f -r 51cf79049719 sys/arch/arm/imx/fdt/imx6_usbphy.c
--- a/sys/arch/arm/imx/fdt/imx6_usbphy.c Sun Nov 24 10:27:37 2019 +0000
+++ b/sys/arch/arm/imx/fdt/imx6_usbphy.c Sun Nov 24 11:07:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_usbphy.c,v 1.1 2019/07/24 13:12:33 hkenken Exp $ */
+/* $NetBSD: imx6_usbphy.c,v 1.2 2019/11/24 11:07:19 skrll Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.1 2019/07/24 13:12:33 hkenken Exp $");
+__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.2 2019/11/24 11:07:19 skrll Exp $");
#include "opt_fdt.h"
@@ -93,7 +93,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;
}
diff -r 0e8ec4136f1f -r 51cf79049719 sys/arch/arm/imx/imx6_usbphy.c
--- a/sys/arch/arm/imx/imx6_usbphy.c Sun Nov 24 10:27:37 2019 +0000
+++ b/sys/arch/arm/imx/imx6_usbphy.c Sun Nov 24 11:07:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_usbphy.c,v 1.2 2019/06/20 08:16:19 hkenken Exp $ */
+/* $NetBSD: imx6_usbphy.c,v 1.3 2019/11/24 11:07:19 skrll Exp $ */
/*
* Copyright (c) 2017 Genetec Corporation. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.2 2019/06/20 08:16:19 hkenken Exp $");
+__KERNEL_RCSID(1, "$NetBSD: imx6_usbphy.c,v 1.3 2019/11/24 11:07:19 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -144,8 +144,8 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index