Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm KNF



details:   https://anonhg.NetBSD.org/src/rev/71e39fdfac22
branches:  trunk
changeset: 466949:71e39fdfac22
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 07 09:57:10 2020 +0000

description:
KNF

diffstat:

 sys/arch/arm/arm/arm_machdep.c   |  14 +++++++-------
 sys/arch/arm/fdt/pcihost_fdt.c   |  15 ++++++++-------
 sys/arch/arm/nvidia/tegra_pcie.c |  13 +++++++------
 sys/arch/arm/sunxi/sunxi_intc.c  |   6 +++---
 sys/arch/arm/sunxi/sunxi_nmi.c   |   6 +++---
 5 files changed, 28 insertions(+), 26 deletions(-)

diffs (152 lines):

diff -r beb265dec9ff -r 71e39fdfac22 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Tue Jan 07 09:55:30 2020 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Tue Jan 07 09:57:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.59 2020/01/07 09:55:30 skrll Exp $   */
+/*     $NetBSD: arm_machdep.c,v 1.60 2020/01/07 09:57:10 skrll Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -80,17 +80,17 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.59 2020/01/07 09:55:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.60 2020/01/07 09:57:10 skrll Exp $");
 
+#include <sys/atomic.h>
+#include <sys/cpu.h>
+#include <sys/evcnt.h>
 #include <sys/exec.h>
+#include <sys/kcpuset.h>
+#include <sys/kmem.h>
 #include <sys/proc.h>
 #include <sys/systm.h>
-#include <sys/kmem.h>
 #include <sys/ucontext.h>
-#include <sys/evcnt.h>
-#include <sys/cpu.h>
-#include <sys/atomic.h>
-#include <sys/kcpuset.h>
 
 #ifdef EXEC_AOUT
 #include <sys/exec_aout.h>
diff -r beb265dec9ff -r 71e39fdfac22 sys/arch/arm/fdt/pcihost_fdt.c
--- a/sys/arch/arm/fdt/pcihost_fdt.c    Tue Jan 07 09:55:30 2020 +0000
+++ b/sys/arch/arm/fdt/pcihost_fdt.c    Tue Jan 07 09:57:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcihost_fdt.c,v 1.12 2019/12/28 17:19:43 jmcneill Exp $ */
+/* $NetBSD: pcihost_fdt.c,v 1.13 2020/01/07 09:57:11 skrll Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,18 +27,19 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcihost_fdt.c,v 1.12 2019/12/28 17:19:43 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcihost_fdt.c,v 1.13 2020/01/07 09:57:11 skrll Exp $");
 
 #include <sys/param.h>
+
+#include <sys/extent.h>
 #include <sys/bus.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
+#include <sys/kmem.h>
+#include <sys/mutex.h>
+#include <sys/queue.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/extent.h>
-#include <sys/queue.h>
-#include <sys/mutex.h>
-#include <sys/kmem.h>
 
 #include <machine/cpu.h>
 
diff -r beb265dec9ff -r 71e39fdfac22 sys/arch/arm/nvidia/tegra_pcie.c
--- a/sys/arch/arm/nvidia/tegra_pcie.c  Tue Jan 07 09:55:30 2020 +0000
+++ b/sys/arch/arm/nvidia/tegra_pcie.c  Tue Jan 07 09:57:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pcie.c,v 1.27 2019/12/28 17:19:43 jmcneill Exp $ */
+/* $NetBSD: tegra_pcie.c,v 1.28 2020/01/07 09:57:11 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,18 +27,19 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.27 2019/12/28 17:19:43 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.28 2020/01/07 09:57:11 skrll Exp $");
 
 #include <sys/param.h>
+
 #include <sys/bus.h>
 #include <sys/device.h>
+#include <sys/extent.h>
 #include <sys/intr.h>
-#include <sys/systm.h>
+#include <sys/kmem.h>
 #include <sys/kernel.h>
-#include <sys/extent.h>
+#include <sys/mutex.h>
 #include <sys/queue.h>
-#include <sys/mutex.h>
-#include <sys/kmem.h>
+#include <sys/systm.h>
 
 #include <machine/cpu.h>
 
diff -r beb265dec9ff -r 71e39fdfac22 sys/arch/arm/sunxi/sunxi_intc.c
--- a/sys/arch/arm/sunxi/sunxi_intc.c   Tue Jan 07 09:55:30 2020 +0000
+++ b/sys/arch/arm/sunxi/sunxi_intc.c   Tue Jan 07 09:57:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_intc.c,v 1.3 2017/10/24 15:07:09 jmcneill Exp $ */
+/* $NetBSD: sunxi_intc.c,v 1.4 2020/01/07 09:57:11 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,13 +29,13 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_intc.c,v 1.3 2017/10/24 15:07:09 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_intc.c,v 1.4 2020/01/07 09:57:11 skrll Exp $");
 
 #include <sys/param.h>
-#include <sys/kernel.h>
 #include <sys/bus.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
 
 #include <dev/fdt/fdtvar.h>
diff -r beb265dec9ff -r 71e39fdfac22 sys/arch/arm/sunxi/sunxi_nmi.c
--- a/sys/arch/arm/sunxi/sunxi_nmi.c    Tue Jan 07 09:55:30 2020 +0000
+++ b/sys/arch/arm/sunxi/sunxi_nmi.c    Tue Jan 07 09:57:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_nmi.c,v 1.2 2019/05/27 21:11:51 jmcneill Exp $ */
+/* $NetBSD: sunxi_nmi.c,v 1.3 2020/01/07 09:57:11 skrll Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,13 +29,13 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_nmi.c,v 1.2 2019/05/27 21:11:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_nmi.c,v 1.3 2020/01/07 09:57:11 skrll Exp $");
 
 #include <sys/param.h>
-#include <sys/kernel.h>
 #include <sys/bus.h>
 #include <sys/device.h>
 #include <sys/intr.h>
+#include <sys/kernel.h>
 #include <sys/systm.h>
 
 #include <dev/fdt/fdtvar.h>



Home | Main Index | Thread Index | Old Index