Use PRIxBUSADDR
This commit is contained in:
parent
5fd0d56def
commit
d3f45d9f81
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos5410_clock.c,v 1.4 2018/09/09 07:21:18 aymeric Exp $ */
|
||||
/* $NetBSD: exynos5410_clock.c,v 1.5 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015-2017 Jared McNeill <jmcneill@invisible.ca>
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos5410_clock.c,v 1.4 2018/09/09 07:21:18 aymeric Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos5410_clock.c,v 1.5 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -451,8 +451,8 @@ exynos5410_clock_attach(device_t parent, device_t self, void *aux)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos5422_clock.c,v 1.13 2018/09/09 07:21:18 aymeric Exp $ */
|
||||
/* $NetBSD: exynos5422_clock.c,v 1.14 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -29,7 +29,7 @@
|
||||
#include "locators.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos5422_clock.c,v 1.13 2018/09/09 07:21:18 aymeric Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos5422_clock.c,v 1.14 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -628,8 +628,8 @@ exynos5422_clock_attach(device_t parent, device_t self, void *aux)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_combiner.c,v 1.10 2018/10/18 09:01:53 skrll Exp $ */
|
||||
/* $NetBSD: exynos_combiner.c,v 1.11 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 The NetBSD Foundation, Inc.
|
||||
@ -35,7 +35,7 @@
|
||||
#include "gpio.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_combiner.c,v 1.10 2018/10/18 09:01:53 skrll Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_combiner.c,v 1.11 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -134,8 +134,8 @@ exynos_combiner_attach(device_t parent, device_t self, void *aux)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_dwcmmc.c,v 1.8 2019/04/09 05:59:24 skrll Exp $ */
|
||||
/* $NetBSD: exynos_dwcmmc.c,v 1.9 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_dwcmmc.c,v 1.8 2019/04/09 05:59:24 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_dwcmmc.c,v 1.9 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -132,8 +132,8 @@ exynos_dwcmmc_attach(device_t parent, device_t self, void *aux)
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_i2c.c,v 1.16 2018/09/03 16:29:24 riastradh Exp $ */
|
||||
/* $NetBSD: exynos_i2c.c,v 1.17 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
@ -31,7 +31,7 @@
|
||||
#include "opt_arm_debug.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_i2c.c,v 1.16 2018/09/03 16:29:24 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_i2c.c,v 1.17 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -150,7 +150,7 @@ exynos_i2c_attach(device_t parent, device_t self, void *aux)
|
||||
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,
|
||||
aprint_error(": couldn't map %#" PRIxBUSADDR ": %d", addr,
|
||||
error);
|
||||
return;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_pinctrl.c,v 1.14 2019/10/01 23:32:52 jmcneill Exp $ */
|
||||
/* $NetBSD: exynos_pinctrl.c,v 1.15 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
#include "gpio.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_pinctrl.c,v 1.14 2019/10/01 23:32:52 jmcneill Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_pinctrl.c,v 1.15 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -104,8 +104,8 @@ exynos_pinctrl_attach(device_t parent, device_t self, void *aux)
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_pwm.c,v 1.1 2018/07/04 23:06:54 jmcneill Exp $ */
|
||||
/* $NetBSD: exynos_pwm.c,v 1.2 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2018 Jared McNeill <jmcneill@invisible.ca>
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_pwm.c,v 1.1 2018/07/04 23:06:54 jmcneill Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_pwm.c,v 1.2 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -231,7 +231,7 @@ exynos_pwm_attach(device_t parent, device_t self, void *aux)
|
||||
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;
|
||||
}
|
||||
for (n = 0; n < PWM_NTIMERS; n++) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_rtc.c,v 1.2 2015/12/21 04:58:50 marty Exp $ */
|
||||
/* $NetBSD: exynos_rtc.c,v 1.3 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
#include "gpio.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_rtc.c,v 1.2 2015/12/21 04:58:50 marty Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_rtc.c,v 1.3 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -102,8 +102,8 @@ exynos_rtc_attach(device_t parent, device_t self, void *aux)
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_wdt.c,v 1.10 2016/01/07 04:41:46 marty Exp $ */
|
||||
/* $NetBSD: exynos_wdt.c,v 1.11 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
@ -32,7 +32,7 @@
|
||||
#include "exynos_wdt.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_wdt.c,v 1.10 2016/01/07 04:41:46 marty Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: exynos_wdt.c,v 1.11 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -192,7 +192,7 @@ exynos_wdt_attach(device_t parent, device_t self, void *aux)
|
||||
|
||||
error = bus_space_map(sc->sc_bst, addr, size, 0, &sc->sc_wdog_bsh);
|
||||
if (error) {
|
||||
aprint_error(": couldn't map %#llx: %d", (uint64_t)addr, error);
|
||||
aprint_error(": couldn't map %#" PRIxBUSADDR ": %d", addr, error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mct.c,v 1.15 2018/09/11 10:06:53 jmcneill Exp $ */
|
||||
/* $NetBSD: mct.c,v 1.16 2019/10/18 06:13:38 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2014-2018 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__KERNEL_RCSID(1, "$NetBSD: mct.c,v 1.15 2018/09/11 10:06:53 jmcneill Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: mct.c,v 1.16 2019/10/18 06:13:38 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -256,8 +256,8 @@ mct_attach(device_t parent, device_t self, void *aux)
|
||||
sc->sc_freq = EXYNOS_F_IN_FREQ;
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user